3 ms·
I built this in college, but the code is lost. It was a week or so of hacking. I believe in you. IIRC the trick was to get a pipeline for Markdown to HTML, ren
by r3trohack3r 2y ago
I built this in college, but the code is lost. It was a week or so of hacking. I believe in you.
IIRC the trick was to get a pipeline for Markdown to HTML, render it into a WYSIWYG editor, then convert the HTML to an AST, and walk that to generate the markdown. I had to “format” both the markdown and html on each render (bidirectional round trip render) because parsing/gen wasn’t whitespace stable.