Meziantou.Framework.Markdown 2.0.3

Prefix Reserved
dotnet add package Meziantou.Framework.Markdown --version 2.0.3
                    
NuGet\Install-Package Meziantou.Framework.Markdown -Version 2.0.3
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Meziantou.Framework.Markdown" Version="2.0.3" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Meziantou.Framework.Markdown" Version="2.0.3" />
                    
Directory.Packages.props
<PackageReference Include="Meziantou.Framework.Markdown" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Meziantou.Framework.Markdown --version 2.0.3
                    
#r "nuget: Meziantou.Framework.Markdown, 2.0.3"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Meziantou.Framework.Markdown@2.0.3
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Meziantou.Framework.Markdown&version=2.0.3
                    
Install as a Cake Addin
#tool nuget:?package=Meziantou.Framework.Markdown&version=2.0.3
                    
Install as a Cake Tool

Meziantou.Framework.Markdown

A CommonMark and GitHub Flavored Markdown parser for .NET, with the extensions of Markdig, an HTML renderer and a formatter. Its syntax tree keeps every character of the text it was parsed from, so a document is written back exactly, and an edit only changes the text of what it replaces.

Assert.Equal("<p>Some <strong>bold</strong> text</p>\n", MarkdownConverter.ToHtml("Some **bold** text"));
Assert.Equal("<p><del>Old</del> new</p>\n", MarkdownConverter.ToHtml("~~Old~~ new", MarkdownParseOptions.GitHubFlavored));
Assert.Equal("Some bold text\n", MarkdownConverter.ToPlainText("Some **bold** text"));

Version 2.0 replaces the parser of version 1.x, a fork of Markdig: see the migration guide in the documentation.

var text = """
    > A quote with *emphasis*
    > on two lines
    """;
var tree = MarkdownSyntaxTree.ParseText(text);

// Every character is in the tree: the markers of the quote on its second line are trivia
Assert.Equal(text, tree.GetRoot().ToFullString());
Assert.Equal("<blockquote>\n<p>A quote with <em>emphasis</em>\non two lines</p>\n</blockquote>\n", MarkdownHtmlRenderer.ToHtml(tree));
Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed.  net11.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.0.3 0 11/20/2026
2.0.2 85 11/18/2026
2.0.1 93 11/17/2026
2.0.0 81 11/17/2026
1.0.9 262 11/13/2026
1.0.8 251 11/8/2026
1.0.7 183 11/5/2026
1.0.6 244 10/31/2026
1.0.5 270 10/28/2026
1.0.4 399 10/21/2026
1.0.3 247 10/16/2026
1.0.2 291 10/11/2026
1.0.1 351 9/30/2026
1.0.0 608 9/28/2026