3 ms·
> I made my own blogging platform where I write Markdown, and it transforms the markdown into HTML before delivering it to the client. The only JS involved is h
by lmm 3y ago
> I made my own blogging platform where I write Markdown, and it transforms the markdown into HTML before delivering it to the client. The only JS involved is highlight.js, and that's only loaded on posts where I specifically ask for it - the whole blog works normally with no JS at all.
There are plenty of platforms that will render markdown into HTML (e.g. Jekyll); I specifically wanted to actually serve the markdown as-is, so that the "source" for any post is always available.
- ryukoposting 3y agoI've thought about adding this to my own platform. Just checking the Accept header for text/html or text/markdown, then sending them whatever they prefer. I just don't know if anyone would actually use it.