Markdig is the Markdown library for .NET: CommonMark-compliant, fast, with a pluggable pipeline of 20+ extensions (pipe and grid tables, task lists, footnotes, front matter, math, alerts, diagrams, auto identifiers) and an AST with precise source positions. It powers the Visual Studio Markdown editor, DocFX and many static site generators. There’s no real alternative worth picking for new code; older libraries such as CommonMark.NET and MarkdownSharp are unmaintained.
MarkdigMarkdig is the CommonMark-compliant Markdown processor for .NET with 20+ extensions. How to convert Markdown to HTML, enable GFM tables, read front matter.