Convert HTML to PDF, DOCX, XPS, Markdown, Xhtml, MHTML and Images with few lines of C# code via .NET library. Check online HTML Converter for free!...via C# Convert HTML to PDF, XHTML, MHTML, Markdown, XPS, DOCX...{{#if_output 'XHTML'}} document.Save("output.xhtml", new HTMLSaveOptions()...