3 ms·
Nice! You don't need the HTML and BODY tags though. I think however this defeats the purpose: yes you're delivering the content as Markdown, but you have to de
by piskerpan 4y ago
Nice! You don't need the HTML and BODY tags though.
I think however this defeats the purpose: yes you're delivering the content as Markdown, but you have to deliver it as `text/html` for it to be rendered, so anyone fetching it can't tell it's Markdown content. Also every document has to have (invisible-ish) HTML junk appended
A "better" solution would be a browser that sends the `Accept: text/markdown, text/html` header and a server that serves Markdown only when requested.