# xoofx/markdig

A fast, powerful, CommonMark compliant, extensible Markdown processor for .NET

Repository: https://github.com/xoofx/markdig
Canonical: https://ross.abutalabs.com/products/markdig
Homepage: http://xoofx.github.io/markdig/
Language: C#
License: BSD-2-Clause
License Family: permissive
Topics: commonmark, markdown-processor, markdown, markdown-parser, markdown-to-html, commonmark-parsing, gfm, markdown-flavors, dotnet, dotnetcore, csharp
Last push: 2026-08-18T16:02:42+00:00

## Health v2 (maintenance only)
Score: 95/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 98, release rhythm 89, longevity 100
- inputs: {"age_days": 3752, "days_push": 15, "days_rel": 76, "gap_med": 21.5, "n_releases_24m": 23}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 5307, forks 509 (observed 2026-08-28T04:09:15.370604+00:00)

## What it is
Markdig is a fast, CommonMark-compliant, extensible Markdown processor for .NET that converts Markdown to HTML. It provides a rich AST with source locations, roundtrip trivia support, and 20+ built-in extensions such as tables, footnotes, and GitHub alerts.

## Use cases
- convert markdown to html in a .net app
- parse markdown into an abstract syntax tree
- build a markdown editor with source locations
- render github-flavored markdown including tables and alerts
- programmatically edit markdown documents losslessly
- add custom markdown syntax extensions

## When to choose
- you need a spec-compliant, high-performance markdown parser on .NET
- you need an AST or lossless roundtrip editing of markdown
- you want pluggable markdown extensions like pipe tables, footnotes, or alerts

## When to avoid
- you need markdown processing outside the .NET ecosystem
- you need conversion to formats other than HTML without extra work

## Facets
- artifact type: library
- maturity: stable
- function: parser, templating, documentation
- domain: parsers, web-development, documentation, developer-tools
- platform: dotnet, cross-platform
- tags: markdown, commonmark, markdown-to-html, ast, gfm, extensible-pipeline, roundtrip

## Member repositories
- xoofx/markdig (main) score 95

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:15.370604+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:59:00.017761+00:00, confidence not recorded.
  - readme: https://github.com/xoofx/markdig (fetched 2026-08-28T04:09:15.370604+00:00, sha 19d53b8afaf5)
  - homepage: http://xoofx.github.io/markdig/ (fetched 2026-08-29T08:53:45.531241+00:00, sha be5094b33f21)
- Data as of 2026-08-30T08:39:29.467469+00:00.
