Blog Infrastructure

If I have my own website, what makes the most sense: writing blog posts in markdown and converting them to html files that are then read by an ajax request and added to a page’s DOM or is there a better way?

I would use Marked to render in the page but I want the .md pre-rendered as HTML so it’s as fast as possible.

I’m not looking for anything fancier than markdown formatting ability.

1 Like

It depends on a number of factors including personal preferences, the purpose of the website, and the level of complexity desired. In general, however, using Marked to render markdown into HTML files that are then read by an AJAX request and added to a page’s DOM is a perfectly valid approach.

1 Like