Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

There are actually a bunch of Markdown parsers that create a DOM, or at least a proper tree (e.g markdown2 in PyPI). Markdown is outrageously simple compared to MediaWiki.

I actually wrote a subset-of-MediaWiki parser in C#, which stayed at the "subset" stage because of the ridiculous complexity and corner-cases that crop up even very early.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: