2022-08-06 17:56:48 +02:00
|
|
|
; From nvim-treesitter/nvim-treesitter
|
|
|
|
|
2021-12-15 10:03:02 +01:00
|
|
|
(fenced_code_block
|
2022-08-06 17:56:48 +02:00
|
|
|
(info_string
|
|
|
|
(language) @injection.language)
|
|
|
|
(code_fence_content) @injection.content (#set! injection.include-unnamed-children))
|
|
|
|
|
|
|
|
((html_block) @injection.content (#set! injection.language "html") (#set! injection.include-unnamed-children))
|
|
|
|
|
|
|
|
([
|
|
|
|
(minus_metadata)
|
|
|
|
(plus_metadata)
|
|
|
|
] @injection.content (#set! injection.language "yaml") (#set! injection.include-unnamed-children))
|
|
|
|
|
|
|
|
((inline) @injection.content (#set! injection.language "markdown.inline") (#set! injection.include-unnamed-children))
|