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

Découvrez les meilleurs dépôts open-source grâce à notre recherche par IA.

ExplorerRecherches sélectionnéesAlternatives open sourceLogiciels auto-hébergésBlogPlan du site
ProjetServeur MCPÀ proposNotre méthodologiePresse
Mentions légalesConfidentialitéConditions d'utilisation
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
syntax-tree avatar

syntax-tree/mdast

0
View on GitHub↗
1,441 stars·48 forks·9 vuesunifiedjs.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.

Historique des stars

Graphique de l'historique des stars pour syntax-tree/mdastGraphique de l'historique des stars pour syntax-tree/mdast

Recherche par IA

Explorez plus de dépôts awesome

Décrivez vos besoins en langage naturel — l'IA classe des milliers de projets open source sélectionnés par pertinence.

Start searching with AI

Alternatives open source à Mdast

Projets open source similaires, classés selon le nombre de fonctionnalités partagées avec Mdast.
  • xoofx/markdigAvatar de xoofx

    xoofx/markdig

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

    remarkjs/remark

    8,911Voir sur 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
    Voir sur GitHub↗8,911
  • wooorm/remarkAvatar de wooorm

    wooorm/remark

    8,923Voir sur 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
    Voir sur GitHub↗8,923
  • jonschlinkert/remarkableAvatar de jonschlinkert

    jonschlinkert/remarkable

    5,835Voir sur 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
    Voir sur GitHub↗5,835
Voir les 30 alternatives à Mdast→

Questions fréquentes

Que fait 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.

Quelles sont les fonctionnalités principales de syntax-tree/mdast ?

Les fonctionnalités principales de syntax-tree/mdast sont : 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.

Quelles sont les alternatives open-source à syntax-tree/mdast ?

Les alternatives open-source à syntax-tree/mdast incluent : 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…

Collections incluant Mdast

Sélections manuelles où Mdast apparaît.
  • Syntax parser