I have a bunch of HTML files that will be part of a downloadable content package for mobile applications. Working without any CSS styling would help reduce the file size and also converting all pages to some Markup language, with the caveat that the application would have to convert back all the Markup language to HTML pages and apply the custom formatting if needed. To do the HTML to Markup language conversion I can use Pandoc but I need a lightweight C# library (preferably available as a NuGet package) compatible with some of the Markup languages that Pandoc spits out. Also the Markup language supported would need to be the one that helps reduce file size the most (if such a thing exist).
Although it might be related to this question, the OP seems to want a library that allows to do some kind of low level parsing or conversion to a custom markup language.