3 ms·
I don't use other browsers so I can't be sure if this is widespread, but Firefox already has a "reader mode" where it cuts out ads/sidebars etc and applies its
by ryukoposting 3y ago
I don't use other browsers so I can't be sure if this is widespread, but Firefox already has a "reader mode" where it cuts out ads/sidebars etc and applies its own very basic stylesheet. Markdown-over-HTTP could very easily use that preexisting frontend.
> I set up my blog with that kind of mentality - I just want to write some markdown and have the browser render it whatever way it needs to
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. It's still missing some core features like RSS, but I'll get around to that.
- 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.