Crate tree_sitter_md

source ·
Expand description

This crate provides Markdown language support for the tree-sitter parsing library.

It contains two grammars: LANGUAGE to parse the block structure of markdown documents and INLINE_LANGUAGE to parse inline content.

It also supplies MarkdownParser as a convenience wrapper around the two grammars. MarkdownParser::parse returns a MarkdownTree instread of a Tree. This struct contains a block tree and an inline tree for each node in the block tree that has inline content

Structs§

Constants§