3 ms·
Just write some markdown files in a flat directory, have a React-SSR app that reads the files and passes the content as props to the app, through a markdown-htm
by anonytrary 9y ago
Just write some markdown files in a flat directory, have a React-SSR app that reads the files and passes the content as props to the app, through a markdown-html component, then just render the it to a raw string. You can do this in tens of lines of code. You can save your script and pass it any markdown files as input, generating any blog you want. Add in a pics/ folder that gets uploaded, and then just locally reference those in your html. I would do this over Wordpress any day. Wordpress is too complicated for me.