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
yuin avatar

yuin/goldmark

0
View on GitHub↗
4,860 stars·293 forks·Go·MIT·17 views

Goldmark

Goldmark is a Markdown parser and renderer written in Go that converts Markdown text into HTML or XHTML. It implements the CommonMark specification to ensure consistent parsing behavior.

The project utilizes a modular extension registry, allowing for the addition of custom syntax such as tables, task lists, and footnotes. It also includes specialized support for CJK languages to handle specific line-breaking and emphasis rules for Chinese, Japanese, and Korean characters.

The library parses text into an abstract syntax tree for programmatic document analysis and modification. Its capabilities include automatic linking of URLs and emails, typographic punctuation formatting, and the assignment of custom attributes to elements.

Features

  • CommonMark Compliant Parsers - Provides a parser that strictly adheres to the CommonMark specification for consistent markdown processing.
  • Extended Syntax Renderers - Supports non-standard markdown features such as tables, task lists, and footnotes via modular extensions.
  • Markdown AST Parsing - Converts raw markdown strings into an abstract syntax tree for programmatic analysis and modification.
  • Markdown to HTML Converters - Transforms compliant markdown plaintext into structured HTML output for web display.
  • Markdown to HTML Renderers - Generates compliant HTML or XHTML output from parsed markdown content with configurable security settings.
  • Markdown AST Analysis - Enables programmatic analysis and modification of content by parsing markdown into a structured syntax tree.
  • Abstract Syntax Tree Parsing - Implements a structured abstract syntax tree to allow programmatic manipulation of markdown content before rendering.
  • Extension Registries - Ships a registry for injecting custom syntax rules and rendering logic into the parser and renderer.
  • Markdown Parser Extensions - Provides pluggable components to add custom block and inline parsing logic for tables and footnotes.
  • Recursive Descent Parsers - Utilizes recursive descent parsing to analyze text by breaking it into nested blocks and inline elements.
  • Two-Phase Compilation - Employs a two-phase process to first build the document structure and then resolve references for rendering.
  • Interface-Based Decoupling - Decouples document structure from output formats by using abstract interfaces to map nodes to targets.
  • CJK Text Formatters - Adjusts line-breaking and emphasis rules specifically for the correct rendering of Chinese, Japanese, and Korean characters.
  • Text Processing - Extensible Markdown parser.

Star history

Star history chart for yuin/goldmarkStar history chart for yuin/goldmark

How this analysis was created: This summary and feature list were written by an AI model that read the project's README and public documentation pages. Each feature links to the documentation it came from; stars, license and language come straight from the GitHub API. The model does not read the source code, and the analysis is refreshed when the project is re-analysed. 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 yuin/goldmark do?

Goldmark is a Markdown parser and renderer written in Go that converts Markdown text into HTML or XHTML. It implements the CommonMark specification to ensure consistent parsing behavior.

What are the main features of yuin/goldmark?

The main features of yuin/goldmark are: CommonMark Compliant Parsers, Extended Syntax Renderers, Markdown AST Parsing, Markdown to HTML Converters, Markdown to HTML Renderers, Markdown AST Analysis, Abstract Syntax Tree Parsing, Extension Registries.

What are some open-source alternatives to yuin/goldmark?

Open-source alternatives to yuin/goldmark include: lunet-io/markdig — Markdig is a high-performance Markdown processor for .NET applications that converts Markdown text into HTML or other… 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.… xoofx/markdig — Markdig is a markdown parser library that converts text into structured HTML, plain text, or other formats using a… jonschlinkert/remarkable — Remarkable is an extensible Markdown parser library that implements the CommonMark specification and supports GitHub… vmg/redcarpet — Redcarpet is a security-focused Markdown to HTML parser and customizable renderer. It transforms Markdown text into…

Open-source alternatives to Goldmark

Similar open-source projects, ranked by how many features they share with Goldmark.
  • lunet-io/markdiglunet-io avatar

    lunet-io/markdig

    5,257View on GitHub↗

    Markdig is a high-performance Markdown processor for .NET applications that converts Markdown text into HTML or other target formats. It is a CommonMark compliant parser and extensible engine that can transform Markdown into a searchable and manipulatable abstract syntax tree. The library provides a framework for adding custom syntax and rendering logic through a modular pipeline of parsers and renderers. It supports native ahead-of-time compilation and trimming to minimize binary size. Capabilities include the generation of structured HTML with custom attributes and styling, the extraction

    C#
    View on GitHub↗5,257
  • 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
  • xoofx/markdigxoofx avatar

    xoofx/markdig

    5,127View on GitHub↗

    Markdig is a markdown parser library that converts text into structured HTML, plain text, or other formats using a configurable pipeline. It functions as a CommonMark compliant parser and an abstract syntax tree generator that transforms markdown into a hierarchical tree of block and inline nodes with precise source location mapping. The project is distinguished by a decoupled renderer architecture that separates parsing logic from output generation, enabling the transformation of the syntax tree into non-HTML formats such as LaTeX or XAML. It also serves as a lossless markdown processor by t

    C#commonmarkcommonmark-parsingcsharp
    View on GitHub↗5,127
  • See all 30 alternatives to Goldmark→