3 ms·
Markdown is already fragmented, that would just be introducing a new fragment, not a standard [insert that comic that everyone posts any time someone proposes a
by dqv 2y ago
Markdown is already fragmented, that would just be introducing a new fragment, not a standard [insert that comic that everyone posts any time someone proposes a new standard].
The long-term solution is having whatever markdown grammar you want and converting it to a standard AST. Then anyone can create their own transformations of that AST to render whatever document they want, including a new markdown document potentially in a different grammar.
https://pandoc.org/using-the-pandoc-api.html#pandocs-architecture https://pandoc.org/using-the-pandoc-api.html#pandocs-archite...
https://github.com/syntax-tree/mdast https://github.com/syntax-tree/mdast
https://unifiedjs.com/ https://unifiedjs.com/