Skip to main content

Module markdown

Module markdown 

Source
Expand description

Markdown language handler for tree-sitter-md.

Extracts ATX headings (# Heading) and setext headings (underlined with === or ---) as function-equivalent elements. Fenced code block contents are not extracted.

Constants§

CALL_QUERY
Tree-sitter call query for Markdown (empty – no call sites in Markdown).
ELEMENT_QUERY
Tree-sitter query for extracting Markdown headings as elements.