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
tree-sitter-grammars avatar

tree-sitter-grammars/tree-sitter-markdown

0
View on GitHub↗
555 stars·110 forks·C·mit·25 views

Tree Sitter Markdown

Tree-sitter-markdown is a parsing library that analyzes plain text Markdown documents to generate a concrete syntax tree for editors and syntax highlighters. It functions as a code editor parsing grammar and a markdown syntax tree generator, converting markup text into structured nodes representing headings, lists, links, and text formatting.

The library uses an incremental LR parsing engine to process source text and maintain the syntax tree efficiently during edits. It relies on context-aware lexing to switch tokenization rules dynamically based on the current parser state, alongside compile-time feature flagging and declarative grammar specifications that compile directly into native parser state tables.

The parser reads plain text markup according to standard specifications and extensions to produce structured syntax trees. It supports compile-time environment variables for configuring syntax extensions such as task lists and tables, enabling integration into static site generators, syntax highlighting implementations, and developer tools.

Features

  • Incremental Syntax Tree Updaters - Processes source text incrementally to maintain and update syntax trees efficiently during edits.
  • Markdown Parsing Interfaces - Reads plain text markdown according to standard specifications to produce structured syntax trees.
  • Markdown Abstract Syntax Trees - Converts markup text into structured abstract syntax tree nodes representing headings and lists.
  • Grammar Compilers - Compiles external declarative grammar specifications directly into native parser state tables.
  • Context-Aware Lexers - Switches tokenization rules dynamically based on parser state to handle complex nested syntax.
  • Automatic Concrete Syntax Tree Construction - Generates detailed hierarchical concrete syntax trees reflecting exact source text structures.
  • Tree-Sitter Parsers - Provides an incremental parsing library analyzing markdown documents to generate concrete syntax trees.
  • Code Editor Grammars - Acts as a code editor parsing grammar enabling syntax highlighting and structural navigation.
  • Markdown Extension Configurators - Enables syntax extensions like task lists and tables using compile-time environment variables.
  • Markdown and Syntax Highlighting - Integrates into syntax highlighting implementations to accurately colorize document elements.

Star history

Star history chart for tree-sitter-grammars/tree-sitter-markdownStar history chart for tree-sitter-grammars/tree-sitter-markdown

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

Projects sharing features with Tree Sitter Markdown

These projects share indexed features with Tree Sitter Markdown. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • krahets/leetcode-bookkrahets avatar

    krahets/LeetCode-Book

    8,072View on GitHub↗

    LeetCode-Book is a curated study resource and markdown algorithm guide designed for technical interview preparation. It serves as a multi-language code library that provides solutions and explanations for coding challenges to help users study data structures and algorithmic principles. The project is delivered as a Docusaurus documentation website, which transforms a directory of version-controlled markdown files into a structured and searchable online technical resource. The repository covers an algorithm study workflow that includes tracking LeetCode problems and following curated study pl

    Javaalgorithmalgorithmsalgorithms-and-data-structures
    View on GitHub↗8,072
  • kach/nearleykach avatar

    kach/nearley

    3,740View on GitHub↗

    Nearley is a JavaScript parser toolkit and context-free grammar compiler. It functions as an Earley parser generator that transforms BNF-like grammar definitions into executable code capable of analyzing text and generating abstract syntax trees. The project is distinguished by its ability to handle any context-free grammar, including those with left recursion and ambiguity, by maintaining multiple valid derivations for a single input. It further supports incremental parsing, allowing input strings to be processed in chunks to provide partial results and real-time feedback. Beyond core parsi

    JavaScript
    View on GitHub↗3,740
  • davidhalter/jedidavidhalter avatar

    davidhalter/jedi

    6,157View on GitHub↗

    Awesome autocompletion, static analysis and refactoring library for python

    Python
    View on GitHub↗6,157
  • remarkjs/remarkremarkjs avatar

    remarkjs/remark

    8,911View on 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
    View on GitHub↗8,911
Compare all 30 related projects→

Frequently asked questions

What does tree-sitter-grammars/tree-sitter-markdown do?

Tree-sitter-markdown is a parsing library that analyzes plain text Markdown documents to generate a concrete syntax tree for editors and syntax highlighters. It functions as a code editor parsing grammar and a markdown syntax tree generator, converting markup text into structured nodes representing headings, lists, links, and text formatting.

What are the main features of tree-sitter-grammars/tree-sitter-markdown?

The main features of tree-sitter-grammars/tree-sitter-markdown are: Incremental Syntax Tree Updaters, Markdown Parsing Interfaces, Markdown Abstract Syntax Trees, Grammar Compilers, Context-Aware Lexers, Automatic Concrete Syntax Tree Construction, Tree-Sitter Parsers, Code Editor Grammars.

Which projects share features with tree-sitter-grammars/tree-sitter-markdown?

Projects with overlapping indexed features include: krahets/leetcode-book — LeetCode-Book is a curated study resource and markdown algorithm guide designed for technical interview preparation.… davidhalter/jedi — Awesome autocompletion, static analysis and refactoring library for python. kach/nearley — Nearley is a JavaScript parser toolkit and context-free grammar compiler. It functions as an Earley parser generator… remarkjs/remark — Remark is a markdown processor and transformer that converts markdown text into a structured JSON abstract syntax tree… artempyanykh/marksman — Marksman is a Language Server Protocol implementation for Markdown that provides advanced editor features including… commonmark/commonmark.js — Commonmark.js is a library designed to parse and render text formatted according to the CommonMark specification. It…

Curated searches featuring Tree Sitter Markdown

Hand-picked collections where Tree Sitter Markdown appears.
  • Language definition files