Skip to content

Comment on Show HN: Markdown as document, by casual-Markdown-doc.jsparent

Comments

underselling? thanks :) yes, it turn a markdown document into a nice-look html webpage (with TOC and scrollspy), by adding the following 4 lines at the beginning.

<!DOCTYPE html>

<link href="https://casualwriter.github.io/dist/casual-markdown-doc.css" rel="stylesheet">

<script src="https://casualwriter.github.io/dist/casual-markdown-doc.js">...

<body title="your document title here...">

and it is a self-sufficient html file, which can be viewed in all browser (include IE9) from internet or local. (yes, local is also ok, u can even send by email, share by google drive, etc..)

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.