# Knagis/CommonMark.NET

Implementation of CommonMark specification in C# for converting Markdown documents to HTML. Optimized for maximum performance and portability.

Repository: https://github.com/Knagis/CommonMark.NET
Canonical: https://ross.abutalabs.com/products/commonmarknet
Language: C#
License: BSD-3-Clause
License Family: permissive
Last push: 2020-03-27T10:07:33+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4377, "days_push": 2350, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1014, forks 144 (observed 2026-08-28T04:03:13.958343+00:00)

## What it is
CommonMark.NET is a C# library implementing the CommonMark specification (version 0.27) for converting Markdown documents to HTML. It is optimized for maximum performance and portability with no external dependencies, but is no longer maintained.

## Use cases
- convert markdown files to html in .net
- render markdown strings as html in c#
- fast commonmark-compliant markdown parser for .net
- parse markdown without external dependencies
- convert markdown streams to html

## When to choose
- you need a fast, dependency-free CommonMark parser for legacy .NET Framework or .NET Core 1.0 targets
- you need compatibility with old platforms like Silverlight, Windows Phone, or Xamarin via PCLs

## When to avoid
- you need an actively maintained library - use Markdig instead
- you need HTML sanitizing, since the converter does not protect against XSS
- you need CommonMark spec versions newer than 0.27 or modern extensibility features

## Facets
- artifact type: library
- maturity: abandoned
- function: parser, markdown
- domain: web-development, parsers, documentation
- platform: dotnet, cross-platform
- tags: commonmark, markdown-to-html, no-dependencies, high-performance

## Member repositories
- Knagis/CommonMark.NET (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:13.958343+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-30T07:11:30.498322+00:00, confidence not recorded.
  - readme: https://github.com/Knagis/CommonMark.NET (fetched 2026-08-28T04:03:13.958343+00:00, sha ee236d8a9513)
- Data as of 2026-08-30T08:39:29.467469+00:00.
