As we have content that can be kept online with IPFS and our Webnative File System, we can start thinking about how to skip content management systems and just write and publish Markdown docs that are rendered automatically / dynamically (so, no “static” generation).
This might be a candidate for inclusion in Drive — especially alongside a basic text editor — but also can be a simple write up on how people can do this.
Let’s document existing libraries for this.
Would also be useful to see which Markdown features are supported. Footnotes would be a big one.
Markdown parser, done right. 100% CommonMark support, extensions, syntax plugins & high speed
A markdown parser and compiler. Built for speed.
Note: doesn’t sanitize output HTML.
What does this mean? Many websites using markdown-like languages have custom extensions, such as
@mentions or issue number linking. Unfortunately, most markdown-like parsers don’t allow extension without forking, and can be difficult to modify even when forked. simple-markdown is designed to allow simple addition of custom extensions without needing to be forked.
At Khan Academy, we use simple-markdown to format over half of our math exercises, because we need markdown extensions for math text and interactive widgets.
Markdown parser and HTML generator implemented in WebAssembly, based on md4c