nvim-treesitter/queries/markdown/injections.scm

15 lines
320 B
Scheme
Raw Normal View History

(fenced_code_block
(info_string
(language) @language)
(#not-match? @language "elm")
(code_fence_content) @content (#exclude_children! @content))
2020-11-23 21:00:08 +01:00
((html_block) @html)
2021-12-29 10:38:13 +01:00
([
(minus_metadata)
(plus_metadata)
] @yaml (#offset! @yaml 1 0 -1 0))
((inline) @markdown_inline (#exclude_children! @markdown_inline))