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

Descubre los mejores repositorios open-source con nuestra búsqueda potenciada por IA.

ExplorarBúsquedas curadasAlternativas open-sourceSoftware autohospedableBlogMapa del sitio
ProyectoServidor MCPAcerca deCómo clasificamosPrensa
Aviso legalPrivacidadTérminos
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
syntax-tree avatar

syntax-tree/mdast

0
View on GitHub↗
1,441 estrellas·48 forks·7 vistasunifiedjs.com↗

Mdast

The project provides a standardized abstract syntax tree specification and utility library for parsing, transforming, and serializing markdown documents. It serves as a comprehensive document processing architecture that translates between raw text markup and structured node representations in both directions.

The capability surface covers syntax parsing for extended markdown features, custom syntax extensions, metadata blocks, and embedded expressions, alongside document serialization that converts syntax trees back into standard and extended markup formats. It includes node modeling and validation primitives that define document structures, component tags, and recursive tree integrity, supported by content manipulation tools for extracting sections, resolving definitions, and transforming trees.

Features

  • Markdown Parsers - Parses markdown text into structured abstract syntax trees and serializes trees back into standard markup.
  • Document Parsers - Converts raw markdown text into structured abstract syntax tree nodes programmatically so documents can be analyzed and manipulated.
  • Abstract Syntax Tree Generators - Navigates, filters, cleans, and transforms document syntax trees to restructure content or extract specific sections.
  • Abstract Syntax Tree Specifications - Represents document structure using standardized node types and interfaces to enable consistent programmatic parsing.
  • Markdown Abstract Syntax Trees - Defines a structured node format representing markdown documents as abstract syntax trees to parse and manipulate content programmatically.
  • HTML Tree Converters - Converts markdown abstract syntax trees into corresponding HTML abstract syntax trees to bridge text markup and web-ready document structures.
  • Tree-to-Text Serializers - Converts syntax trees containing embedded expressions and component syntax back into serialized markdown documents.
  • Extended Syntax Renderers - Reconstructs markdown documents from abstract syntax trees, outputting extended features like tables and footnotes.
  • Plain Text Extraction - Retrieves plain text from markdown nodes, lists, or arrays by reading text fields or serializing children.
  • Document Tree Transformation Pipelines - Applies sequential handler functions and plugins to transform document trees into different formats or target syntax trees.
  • Visitor Pattern Traversers - Traverses hierarchical document trees recursively to inspect, validate, and transform specific node types.
  • Text - Scans document text nodes in preorder to locate patterns and replace them with generated nodes.
  • Markup Representations - Provides bidirectional conversion between raw text markup and structured abstract syntax tree representations.
  • Markdown AST Manipulation - Parses markdown text into structured nodes and serializes trees back into markup for programmatic document manipulation.
  • Markdown Node Querying and Modification - Offers a complete toolset for traversing, querying, modifying, and validating nodes within markdown abstract syntax trees.
  • Markdown Parser Extensions - Builds custom parsers and plugins to support non-standard markdown features like frontmatter, math, and tables.
  • Document Frontmatter Parsers - Converts embedded metadata blocks at the start of documents into structured nodes during parsing by using configurable syntax extensions.
  • Section Content Extractors - Locates a specific heading within a document structure and isolates its section content up to the next heading.
  • Markdown HTML Conversions - Translates markdown syntax trees into HTML elements or natural language structures for browser rendering and downstream processing.
  • Secure Markdown Rendering - Processes raw HTML within markdown content while sanitizing untrusted inputs or managing dangerous markup flags to prevent security vulnerabilities.
  • Component Tag Node Representations - Models inline and block-level component tags, including fragments, names, and attributes, as structured nodes within document trees.
  • Syntax Extension Serializers - Integrates additional syntax plugins to serialize specialized constructs like tables, math, and frontmatter into valid markdown.
  • Automatic Table of Contents - Builds a nested list of document headings from a syntax tree and generates navigation anchor links.
  • Markup Syntax Extensions - Supports pluggable parser and serializer extensions for custom syntax nodes and non-standard markdown features.
  • Module Import and Export Processors - Transforms embeddable module import and export syntax between raw markdown text and abstract syntax tree nodes in both directions.
  • Custom Markdown - Builds extensions that plug into parsers and serializers to support custom syntax nodes within documents.
  • Markdown Document Tree Validators - Checks that a document tree conforms to structural rules and recursively verifies all nested children down the line.
  • Component Syntax Processors - Transforms XML-like component syntax within documents into syntax tree nodes and serializes those trees back into markup.
  • Embedded Expression Parsers - Parses embedded expressions, JSX elements, and module imports within markdown documents into structured syntax tree nodes.
  • Markdown Directive Nodes - Structures markdown text containers and text elements with names, attributes, and content into standardized syntax tree nodes.

Historial de estrellas

Gráfico del historial de estrellas de syntax-tree/mdastGráfico del historial de estrellas de syntax-tree/mdast

Búsqueda con IA

Explora más repositorios increíbles

Describe lo que necesitas en lenguaje sencillo: la IA clasifica miles de proyectos open-source curados por relevancia.

Start searching with AI

Colecciones destacadas con Mdast

Colecciones seleccionadas manualmente donde aparece Mdast.
  • Syntax parser

Alternativas open-source a Mdast

Proyectos open-source similares, clasificados según cuántas características comparten con Mdast.
  • xoofx/markdigAvatar de xoofx

    xoofx/markdig

    5,127Ver en 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
    Ver en GitHub↗5,127
  • remarkjs/remarkAvatar de remarkjs

    remarkjs/remark

    8,911Ver en GitHub↗

    Remark is a markdown processor and transformer that converts markdown text into a structured JSON abstract syntax tree for programmatic manipulation. It functions as a plugin-based tool within the unified ecosystem, allowing users to parse, transform, and stringify markdown content. The project is distinguished by its extensibility through a plugin system that supports custom markdown syntax extensions, the introduction of new markup elements, and the definition of custom processing logic. This framework enables the modification of content through a visitor-pattern traversal of the syntax tre

    JavaScript
    Ver en GitHub↗8,911
  • wooorm/remarkAvatar de wooorm

    wooorm/remark

    8,923Ver en GitHub↗

    Remark is a markdown processor that parses markdown text into a structured JSON abstract syntax tree for programmatic analysis and transformation. It functions as a markdown AST parser and processor, utilizing a plugin framework to manage extensible syntax and transformation rules. The project enables custom markdown syntax extensions and content transformation through a plugin system, allowing for the addition of non-standard markup and metadata. It also includes a markdown linter to identify style inconsistencies and ensure adherence to writing standards. The toolset covers markdown docume

    JavaScript
    Ver en GitHub↗8,923
  • jonschlinkert/remarkableAvatar de jonschlinkert

    jonschlinkert/remarkable

    5,835Ver en GitHub↗

    Remarkable is an extensible Markdown parser library that implements the CommonMark specification and supports GitHub Flavored Markdown through configurable rule presets. Its core architecture separates parsing into distinct inline and block rule pipelines, enabling targeted customization of text-level and structural syntax while maintaining consistent behavior across standard Markdown features. The parser is built around a plugin-based rule system where individual syntax rules can be toggled, extended, or replaced by external plugins. A preset configuration system allows users to switch betwe

    JavaScriptcommonmarkcompiledocusaurus
    Ver en GitHub↗5,835
Ver las 30 alternativas a Mdast→

Preguntas frecuentes

¿Qué hace syntax-tree/mdast?

The project provides a standardized abstract syntax tree specification and utility library for parsing, transforming, and serializing markdown documents. It serves as a comprehensive document processing architecture that translates between raw text markup and structured node representations in both directions.

¿Cuáles son las características principales de syntax-tree/mdast?

Las características principales de syntax-tree/mdast son: Markdown Parsers, Document Parsers, Abstract Syntax Tree Generators, Abstract Syntax Tree Specifications, Markdown Abstract Syntax Trees, HTML Tree Converters, Tree-to-Text Serializers, Extended Syntax Renderers.

¿Qué alternativas de código abierto existen para syntax-tree/mdast?

Las alternativas de código abierto para syntax-tree/mdast incluyen: xoofx/markdig — Markdig is a markdown parser library that converts text into structured HTML, plain text, or other formats using a… remarkjs/remark — Remark is a markdown processor and transformer that converts markdown text into a structured JSON abstract syntax tree… wooorm/remark — Remark is a markdown processor that parses markdown text into a structured JSON abstract syntax tree for programmatic… jonschlinkert/remarkable — Remarkable is an extensible Markdown parser library that implements the CommonMark specification and supports GitHub… lunet-io/markdig — Markdig is a high-performance Markdown processor for .NET applications that converts Markdown text into HTML or other… waylan/python-markdown — Python-Markdown is a library that converts Markdown text into HTML or XHTML documents. It functions as a Unicode text…