Hacker News new | ask | show | jobs
by nobody_nothing 2230 days ago
Agreed! This is my biggest need. If you want to contribute, or know of any open source libraries that might help me build a more robust parser, let me know -- I'm only a casual coder, and this project really stretched my capabilities of recursive thought ::o

The parser in its current form is here: https://github.com/gamburg/margin/blob/master/parser/js/Marg...

1 comments

You could consider parsing into Pandoc AST (just need to output the JSON representation of it). Then you can automatically interface with all the output formats supported by Pandoc, including HTML. See pandoc --from json, and https://pandoc.org/using-the-pandoc-api.html
Thanks! This is useful.