How can I store a pages content in a file, then render it with formatting?
Answered
DentFuse posted this in #help-forum
DentFuseOP
I have something like a blog I'd like to recreate, which has mutliple paragraphs and might have images. I was wondering how I could store this data in a file and then render is dynamically as shown in the tutorial. I tried using JSON with
\n
and <br />
but neither worked.1 Reply
DentFuseOP
store normal html and parse using
html-react-parser
Answer