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

Share on FacebookTweet about this on TwitterShare on LinkedIn

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 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:

C#

using (var document = new Aspose.Html.HTMLDocument("<p>my first paragraph</p>" +
"<p>my second paragraph</p>", dataDir))
{
document.Save( dataDir + "Markdown.md", 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.