pub const ELEMENT_QUERY: &str = r"
(atx_heading heading_content: (_) @func_name) @function
(setext_heading heading_content: (_) @func_name) @function
";Expand description
Tree-sitter query for extracting Markdown headings as elements.
Both ATX headings (# Title) and setext headings (text underlined with = or -)
are captured via the heading_content field. The field syntax is required because
heading_content is a field name on the heading nodes, not a standalone node type.