Support for HTML to Markdown Notation in Aspose.HTML for .NET 18.6

We at Aspose are glad to announce new release Aspose.HTML for .NET 18.6 which can be downloaded from NuGet Gallery and can be used in .NET applications. You can convert an HTML document to a Markdown format to make the content easy-to-read and easy-to-write. In this release, some issues related to HTML to PDF and PNG rendering have also been rectified. An overview of these improvements and changes is given in the release notes of Aspose.HTML for .NET 18.6.

HTML to Markdown Conversion

Markdown allows you to write using an easy-to-read and easy-to-write plain text format, then convert it to structurally valid HTML. You can convert your document to markdown format with Aspose.HTML for .NET 18.6.  HTML document can be converted to Markdown notation as follows:


using (var document = new Aspose.Html.HTMLDocument("<p>my first paragraph</p>" +"<p>my second paragraph</p>", dataDir)){document.Save( dataDir + "", HTMLSaveFormat.Markdown);}

We have also included support to render HTML documents to MHTML File Format. You can even control the saving process by creating MHTMLSaveOptions object and setup relevant fields, as per your requirements. For further information about it, you may visit HTML to MHTML Conversion.

Miscellaneous Resources

Please visit the following links for information regarding Aspose.HTML for .NET 18.6 and Release Notes section.