Background information
Apps currently use the mediawiki api with action=parse and mobileformat=true to transform user-generated wikitext into a previewable page. Ideally, there'd be an endpoint that returns the user-generated wikitext as a page with formatting that matches the new article viewing endpoint, mobile-html.
How
Either an endpoint where we can POST Parsoid HTML for transformation into a mobile-html page
-OR-
Something along the lines of:
pagelib.c1.PageMods.replaceContent(contentHtml)
pagelib.c1.PageMods.replaceSection(id, sectionHtml)