awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
jgm avatar

jgm/CommonMark

0
View on GitHub↗
5,106 stars·354 forks·Python·33 viewscommonmark.org↗

CommonMark

CommonMark is a formal standard specification for Markdown, providing a reference implementation and a set of rules to ensure consistent text rendering across different platforms. It consists of a Markdown parser implementation and a system for generating formal syntax documentation.

The project includes a comprehensive conformance test suite with over five hundred embedded examples to verify that other Markdown implementations adhere to the specification. It provides tools to export these test cases in JSON format for use in external verification processes.

The system covers document format conversion, transforming the formal specification into human-readable HTML and PDF outputs. It employs a structured approach to text processing through single-pass tokenization and rule-based syntax standardization.

Features

  • Markup Syntax Standardization - Provides a rationalized set of formatting rules to ensure consistent document rendering across all platforms.
  • Specification-Based Parsers - Implements a reference parser that strictly adheres to the formal CommonMark grammar and rules.
  • Markdown Parsers - Implements a tool that converts Markdown formatted text into a structured format based on a standardized specification.
  • Parser Conformance Testing - Verifies that a custom Markdown implementation adheres to official specifications using a comprehensive suite of conformance tests.
  • Markdown AST Parsing - Converts raw Markdown text into a structured format based on a standardized specification.
  • Syntax Standardization Rules - Enforces a consistent interpretation of ambiguous formatting through a rationalized set of priority and nesting rules.
  • Language Standard Specifications - Provides the formal set of rules and reference implementation used to ensure consistent rendering of Markdown text across all platforms.
  • Markup Specification Test Suites - Provides a collection of over five hundred embedded examples used to verify adherence to the standard specification.
  • Specification Conformance Validation - Provides a comprehensive suite of tests to verify that Markdown implementations adhere to the formal specification.
  • Document Format Conversions - Transforms specification documents into accessible, human-readable formats like HTML and PDF.
  • Multi-Format Generators - Transforms the formal syntax specification into multiple distribution formats including HTML and PDF.
  • Specification Documentation Generators - Builds formal syntax documentation into human-readable HTML and PDF formats.
  • Specification Document Renderers - Converts the formal syntax specification into HTML and PDF formats for human readability.
  • Conformance Data Exports - Extracts raw conformance test cases from the specification in JSON format for external testing tools.
  • Single-Pass Tokenizers - Processes input text in a linear sequence to identify formatting markers before structural assembly.
  • Conformance Test Case Exports - Exports internal specification test cases into JSON format for use by external language implementations.
  • Markdown Specifications - Reference implementation and specification for the CommonMark standard.
  • Writing and Documentation - Specification for a standardized and rationalized Markdown syntax.

Star history

Star history chart for jgm/commonmarkStar history chart for jgm/commonmark

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Frequently asked questions

What does jgm/commonmark do?

CommonMark is a formal standard specification for Markdown, providing a reference implementation and a set of rules to ensure consistent text rendering across different platforms. It consists of a Markdown parser implementation and a system for generating formal syntax documentation.

What are the main features of jgm/commonmark?

The main features of jgm/commonmark are: Markup Syntax Standardization, Specification-Based Parsers, Markdown Parsers, Parser Conformance Testing, Markdown AST Parsing, Syntax Standardization Rules, Language Standard Specifications, Markup Specification Test Suites.

Which projects share features with jgm/commonmark?

Projects with overlapping indexed features include: commonmark/commonmark-spec — This project is a formal markdown specification standard that provides a detailed markup syntax definition and a… evilstreak/markdown-js — markdown-js is a JavaScript markdown parser and converter that transforms markdown text into HTML output. It functions… russross/blackfriday — Blackfriday is a Go library for parsing and converting Markdown text into HTML, LaTeX, and other structured formats.… markdown-it/markdown-it — markdown-it is a token-based Markdown compiler and CommonMark-compliant parser that converts structured plaintext… syntax-tree/mdast — The project provides a standardized abstract syntax tree specification and utility library for parsing, transforming,… wooorm/remark — Remark is a markdown processor that parses markdown text into a structured JSON abstract syntax tree for programmatic…

Projects sharing features with CommonMark

These projects share indexed features with CommonMark. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • commonmark/commonmark-speccommonmark avatar

    commonmark/commonmark-spec

    5,105View on GitHub↗

    This project is a formal markdown specification standard that provides a detailed markup syntax definition and a definitive set of rules for parsing plain text into consistent HTML output. It establishes a standardized grammar for structural blocks and inline elements to ensure uniform rendering across different software implementations. The specification is supported by a parser conformance suite and a reference implementation in C and JavaScript to verify that implementations adhere to the standard. It includes a system for implementation verification that compares transformed input strings

    Python
    View on GitHub↗5,105
  • evilstreak/markdown-jsevilstreak avatar

    evilstreak/markdown-js

    7,679View on GitHub↗

    markdown-js is a JavaScript markdown parser and converter that transforms markdown text into HTML output. It functions as both a library and a command line interface tool for converting documents. The project is centered on an abstract syntax tree representation, allowing markdown to be parsed into a structured tree for programmatic inspection and modification before the final rendering process. This intermediate representation enables custom markup processing and document transformations. The toolset covers programmatic document parsing, static site generation, and CLI-based file processing

    JavaScript
    View on GitHub↗7,679
  • russross/blackfridayrussross avatar

    russross/blackfriday

    5,614View on GitHub↗

    Blackfriday is a Go library for parsing and converting Markdown text into HTML, LaTeX, and other structured formats. It functions as an extensible Markdown processor that transforms syntax into target markup languages. The project is distinguished by its pluggable rendering architecture, which allows for the production of diverse output targets such as Slack message styles, Confluence Wiki Markup, and GitHub Flavored Markdown. It supports custom syntax extensions including definition lists, footnotes, autolinks, and strikethroughs. The processor includes utilities for generating automatic ta

    Go
    View on GitHub↗5,614
  • markdown-it/markdown-itmarkdown-it avatar

    markdown-it/markdown-it

    21,575View on GitHub↗

    markdown-it is a token-based Markdown compiler and CommonMark-compliant parser that converts structured plaintext markup into HTML. It functions as an extensible markup processor designed to transform text into browser-ready content while managing security and preventing cross-site scripting. The project is distinguished by a modular plugin system that allows for the extension of parsing capabilities and the addition of custom syntax, such as footnotes, tables, or emojis. It utilizes a two-stage tokenization process to break documents into structural tokens before rendering them into final HT

    JavaScriptcommonmarkjavascriptmarkdown
    View on GitHub↗21,575
  • Compare all 30 related projects→