{"categories":[{"label":"Linguistic","url":"https://skillfed.io/packages/category/text-processing-linguistic"},{"label":"Compilers","url":"https://skillfed.io/packages/category/software-development-compilers"}],"enrichment":{"capability":"Provides a tree-sitter grammar for parsing Markdown documents, enabling syntactic analysis of Markdown text according to CommonMark with optional extensions like GitHub flavored markdown, task lists, and tables.","skillfed_tags":["parsing","syntax-highlighting","tree-sitter"],"use_cases":["Syntax highlighting for Markdown in text editors and IDE plugins that use tree-sitter","Extracting structural information from Markdown documents for linting or analysis tools","Building Markdown-aware code editors or documentation viewers with incremental parsing","Parsing Markdown with GitHub extensions (tables, task lists, strikethrough) for web or static site generators"],"what_it_does":"tree-sitter-markdown is a Markdown parser grammar for the tree-sitter incremental parsing framework. It parses Markdown text into a syntax tree following the CommonMark specification, with optional support for extensions like GitHub flavored markdown, task lists, strikethrough, pipe tables, and YAML/TOML metadata blocks. The parser is designed primarily for syntax highlighting and syntactic analysis in editors like Neovim and Helix.\n\nThe package is distributed as precompiled wheels for Python 3.9 and later, with no runtime dependencies. However, the authors explicitly note that the parser has known inaccuracies due to the constraints of fitting Markdown into tree-sitter's parsing rules, and recommend against using it where correctness is critical. Standalone usage requires two-pass parsing: first with the block grammar, then with the inline grammar using included ranges to mark inline content.","worth_installing":"Yes, if you need tree-sitter-based Markdown parsing for syntax highlighting or structural analysis. The permissive MIT license, active maintenance, and precompiled wheels make it straightforward to install. However, do not use it where Markdown correctness is critical\u2014the authors acknowledge known inaccuracies. For general-purpose Markdown parsing where fidelity matters, consider alternatives."},"id":"tree-sitter-markdown","links":{"html":"https://skillfed.io/packages/tree-sitter-markdown","md":"https://skillfed.io/packages/tree-sitter-markdown.md","pypi":"https://pypi.org/project/tree-sitter-markdown/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2025-09-16","license_spdx":null,"license_treatment":"permissive","name":"tree-sitter-markdown","python_support":"supports_current","summary":"Markdown grammar for tree-sitter"},"popularity":{"monthly_downloads":2085173,"position":3305,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"0.5.1"}
