mwparserfromhell is used for parsing wikitext but it has no support for rendering to HTML so we'll have to build it manually.