awesome-repositories.com
Blog
awesome-repositories.com

Entdecke die besten Open-Source-Repositories mit KI-gestützter Suche.

EntdeckenKuratierte SuchenOpen-Source-AlternativenSelf-hosted SoftwareBlogSitemap
ProjektÜber unsRanking-MethodikPresseMCP-Server
RechtlichesDatenschutzAGB
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
lunet-io avatar

lunet-io/markdig

0
View on GitHub↗
5,257 Stars·509 Forks·C#·BSD-2-Clause·6 Aufrufexoofx.github.io/markdig↗

Markdig

Markdig ist ein High-Performance-Markdown-Prozessor für .NET-Anwendungen, der Markdown-Text in HTML oder andere Zielformate konvertiert. Es ist ein CommonMark-konformer Parser und eine erweiterbare Engine, die Markdown in einen durchsuchbaren und manipulierbaren Abstract Syntax Tree (AST) umwandeln kann.

Die Bibliothek bietet ein Framework, um durch eine modulare Pipeline aus Parsern und Renderern eigene Syntax und Rendering-Logik hinzuzufügen. Sie unterstützt natives Ahead-of-Time-Kompilieren und Trimming, um die Binärgröße zu minimieren.

Zu den Funktionen gehören die Generierung von strukturiertem HTML mit benutzerdefinierten Attributen und Styling, das Extrahieren von YAML-Front-Matter für Static-Site-Processing sowie die Konvertierung von Inhalten in Plain Text. Die Engine deckt zudem typografische Verbesserungen, die Vorbereitung mathematischer Formeln und automatische Link-Formatierung ab.

Der Prozessor beinhaltet präzises Source-Mapping zur Nachverfolgung von Character-Spans und nutzt Output-Streaming sowie Limits für die Verschachtelungstiefe, um Performance und Stabilität zu gewährleisten.

Features

  • CommonMark Compliant Parsers - A text processor that adheres to the CommonMark specification to ensure consistent parsing across different platforms.
  • CommonMark Conversions - Provides a high-performance, specification-compliant conversion of standard CommonMark syntax into HTML.
  • Markdown to HTML Converters - Transforms Markdown plaintext markup into structured HTML for web display using a high-performance processor.
  • AST to HTML Renderers - Walks the document tree and dispatches nodes to specific renderers to generate HTML.
  • Markdown Parsing Pipelines - Implements configurable pipelines that convert markdown text into structured formats using pluggable extensions.
  • Markdown AST Parsing - Converts raw Markdown strings into a hierarchical abstract syntax tree that captures semantic structure.
  • Markdown Processors - Provides a high-performance library for transforming Markdown text into HTML or other structured formats.
  • Markdown to HTML Renderers - Utilizes a high-performance renderer to convert compliant Markdown text into HTML.
  • Parser Configurations - Uses a configurable pipeline of block and inline parsers to determine how syntax patterns are recognized.
  • Delimiter Parsing Rules - Creates parsing rules for paired delimiters and shortcodes to transform text patterns into structured nodes.
  • Abstract Syntax Tree Parsing - Transforms source text into a structural abstract syntax tree before walking the tree for final output generation.
  • Custom Parser Implementations - Implements flexible parsing logic to recognize non-standard syntax and map it to custom tree structures.
  • Abstract Syntax Tree Generation - Generates detailed abstract syntax trees for structural analysis of Markdown source text.
  • Block Level Parsing Rules - Implements parsing logic for identifying structural block elements like paragraphs and headings in a document.
  • Custom Block Parsing Overrides - Implements custom block-level syntax to handle fenced containers and paragraph interruption rules.
  • Inline Element Parsers - Implements specialized parsing to identify inline elements like emphasis and links within text blocks.
  • Markdown AST Manipulation - Provides programmatic structural modification of a markdown abstract syntax tree while preserving hierarchy.
  • Syntax Extensions - Adds custom elements by hooking into the parsing pipeline to recognize new structural patterns.
  • Markdown Parser Extensions - Adds custom syntax by registering new parsers and renderers to transform text into specific AST nodes.
  • Clickable Link Detections - Automatically converts email addresses, phone numbers, and URLs into clickable links.
  • Custom Format Renderers - Transforms the parsed document tree into non-web formats such as LaTeX, XAML, or JSON.
  • Extended Syntax Renderers - Provides support for non-standard Markdown extensions such as tables, task lists, and math blocks.
  • Document Metadata Extraction - Extracts standard descriptive properties like author and title from YAML front matter in documents.
  • Footnotes - Implements numbered references within a document that link to explanatory notes at the bottom.
  • Mathematical Notation Renderers - Provides a specialized renderer to convert LaTeX mathematical notation within Markdown content into formatted HTML.
  • Non-HTML Renderers - Employs a custom engine to transform parsed documents into non-HTML outputs like LaTeX.
  • Markdown to Plain Text Converters - Strips all Markdown formatting markers and HTML tags to produce clean plain text.
  • Front-Matter Data Models - Extracts structured metadata from YAML front matter blocks at the start of documents.
  • Content Grouping Containers - Transforms fenced blocks or inline markers into HTML div containers to group related content.
  • Static Site Generation - Extracts YAML front matter and converts structured documentation files into static HTML pages.
  • Typographic Enhancements - Markdig replaces standard ASCII punctuation with typographically correct entities to improve appearance.
  • Markdown Roundtrips - Preserves non-semantic whitespace and trivia to enable lossless roundtrip editing.
  • Node Metadata Attachments - Stores arbitrary key-value data on individual tree nodes to carry additional contextual information.
  • AST Mutations - Provides helper utilities to modify the document tree while maintaining correct parent-child relationships.
  • Native AOT Compilation - Maintains compatibility with ahead-of-time compilation and trimming to minimize binary size.
  • AOT-Compatible Libraries - A .NET implementation designed to work with ahead-of-time compilation and trimming to minimize binary size.
  • AST-to-Source Mappings - Tracks exact character spans and whitespace of every AST node to enable lossless roundtripping to original text.
  • Inline Node Rewiring - Processes the inline linked-list to rewire nested delimiters into final ordered structural elements.
  • Format-Preserving Printing - Preserves original whitespace and formatting tokens when printing the abstract syntax tree back to source text.
  • Stream-Based Rendering - Writes processed content directly to a text stream to minimize memory allocations for large documents.
  • Parsing Depth Limits - Implements constraints on the maximum nesting level of parsed document elements to prevent stack overflow.
  • AST Modification - Modifies document structure by removing or replacing nodes to transform content after the initial parsing phase.
  • AST Traversal Engines - Implements depth-first walking of the document tree to locate or process specific nodes.
  • AST Visitor Patterns - Walks the document tree and dispatches each node type to a specialized renderer using the visitor pattern.
  • Heading Identifiers - Automates the generation of unique identifiers for document headings to enable deep linking.
  • Inline Element Reconciliation - Processes linear inline sequences to resolve paired delimiters and nested elements into a final structural hierarchy.
  • AST Node Metadata - Allows attaching typed key-value metadata directly to abstract syntax tree nodes to share state across processing phases.
  • Output Streaming - Markdig writes processed content directly to a text stream to avoid loading large output strings into memory.
  • Renderer Performance Optimizations - Markdig reduces memory allocations by caching processing pipelines and pooling renderer instances.
  • Bootstrap CSS Integrations - Integrates Bootstrap CSS classes into generated HTML elements like tables, blockquotes, and figures.
  • Captioned Figures - Renders images as figure elements with descriptive captions using specific marker syntax.
  • Markdown Table Rendering - Converts pipe and grid style text into HTML tables with support for multi-line cells.
  • Callout Block Rendering - Converts callouts into styled HTML elements to highlight important content within documentation.
  • Manual Attribute Assignments - Assigns custom IDs, classes, and generic HTML attributes to headings and other elements.
  • Text Rendering - Implements specialized typographic styles like strikethrough and superscript using character delimiters.
  • Automatic Hyperlink Detection - Identifies plain text URLs and email addresses and automatically converts them into clickable hyperlinks.
  • Custom Rendering Logic - Provides the ability to override the default HTML generation process via custom rendering logic.
  • General Utilities - Fast and extensible Markdown processor.
  • Markdown Processors - Fast, extensible, and CommonMark-compliant Markdown processor.

Star-Verlauf

Star-Verlauf für lunet-io/markdigStar-Verlauf für lunet-io/markdig

KI-Suche

Entdecke weitere awesome Repositories

Beschreibe in einfachen Worten, was du brauchst — die KI bewertet tausende kuratierte Open-Source-Projekte nach Relevanz.

Start searching with AI

Open-Source-Alternativen zu Markdig

Ähnliche Open-Source-Projekte, sortiert nach der Anzahl der gemeinsamen Funktionen mit Markdig.
  • xoofx/markdigAvatar von xoofx

    xoofx/markdig

    5,127Auf GitHub ansehen↗

    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
    Auf GitHub ansehen↗5,127
  • yuin/goldmarkAvatar von yuin

    yuin/goldmark

    4,860Auf GitHub ansehen↗

    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 capabilitie

    Gocommonmarkgogolang
    Auf GitHub ansehen↗4,860
  • commonmark/commonmark.jsAvatar von commonmark

    commonmark/commonmark.js

    1,559Auf GitHub ansehen↗

    Commonmark.js is a library designed to parse and render text formatted according to the CommonMark specification. It functions as a document processing pipeline that converts plain text into structured HTML or an abstract syntax tree, enabling developers to programmatically inspect, modify, and transform document elements. The library distinguishes itself through its strict adherence to standardized parsing rules, ensuring consistent and predictable output across different software environments. It provides a robust framework for document tree manipulation, allowing users to traverse, insert,

    JavaScript
    Auf GitHub ansehen↗1,559
  • pulldown-cmark/pulldown-cmarkAvatar von pulldown-cmark

    pulldown-cmark/pulldown-cmark

    2,610Auf GitHub ansehen↗

    pulldown-cmark is a pull-parsing library that transforms Markdown text into a stream of events based on the CommonMark specification. It functions as an event-based processor that represents document structure as an iterator of events rather than a concrete syntax tree, serving as both a parser and a renderer to convert Markdown into HTML strings. The library is designed for memory efficiency by processing text as a stream to minimize resource usage. It supports programmatic document transformation, allowing users to map or filter the event stream before final rendering. The project includes

    Rustcommonmarkmarkdownparser
    Auf GitHub ansehen↗2,610
Alle 30 Alternativen zu Markdig anzeigen→

Häufig gestellte Fragen

Was macht lunet-io/markdig?

Markdig ist ein High-Performance-Markdown-Prozessor für .NET-Anwendungen, der Markdown-Text in HTML oder andere Zielformate konvertiert. Es ist ein CommonMark-konformer Parser und eine erweiterbare Engine, die Markdown in einen durchsuchbaren und manipulierbaren Abstract Syntax Tree (AST) umwandeln kann.

Was sind die Hauptfunktionen von lunet-io/markdig?

Die Hauptfunktionen von lunet-io/markdig sind: CommonMark Compliant Parsers, CommonMark Conversions, Markdown to HTML Converters, AST to HTML Renderers, Markdown Parsing Pipelines, Markdown AST Parsing, Markdown Processors, Markdown to HTML Renderers.

Welche Open-Source-Alternativen gibt es zu lunet-io/markdig?

Open-Source-Alternativen zu lunet-io/markdig sind unter anderem: xoofx/markdig — Markdig is a markdown parser library that converts text into structured HTML, plain text, or other formats using a… yuin/goldmark — Goldmark is a Markdown parser and renderer written in Go that converts Markdown text into HTML or XHTML. It implements… commonmark/commonmark.js — Commonmark.js is a library designed to parse and render text formatted according to the CommonMark specification. It… pulldown-cmark/pulldown-cmark — pulldown-cmark is a pull-parsing library that transforms Markdown text into a stream of events based on the CommonMark… wooorm/remark — Remark is a markdown processor that parses markdown text into a structured JSON abstract syntax tree for programmatic… tencent/cherry-markdown — Cherry Markdown is a web-based Markdown editor and parsing engine that converts markup text into sanitized HTML with a…