3 ms·
How is this remotely elegant? You're including a script to render simple formatted text, something that can be accomplished by statically compiling from markdow
by messe 8y ago
How is this remotely elegant? You're including a script to render simple formatted text, something that can be accomplished by statically compiling from markdown to HTML before serving.
If you can serve static HTML, why not just do that?
- kjeetgill 8y agoIt could be useful if you just want to edit a file in notepad and drop it on a CDN or fileshare without any tooling. I don't run a blog but it could be nice. I'd definitely call it elegant, though not exactly minimal. I helped run a fraternity website for a bit. If I could say, hey just download the source from chrome, tweak the bulletin in notepad, and upload it back to the ftp page that would have been great. It also has the text in readable markdown. If you browse without JS it still works!
- roryisok 8y ago> If you browse without JS it still works! Also true of html
- mrec 8y ago> If you browse without JS it still works! How does it, given that all the markdown is inside that <xmp theme="united" style="display:none;"> block?
- quzyp 8y ago> It also has the text in readable markdown. If you browse without JS it still works! Not for me, I see a blank page.