2022-08-06 19:56:48 +04:00
|
|
|
; From nvim-treesitter/nvim-treesitter
|
|
|
|
|
2021-12-15 13:03:02 +04:00
|
|
|
(fenced_code_block
|
2022-08-06 19:56:48 +04:00
|
|
|
(info_string
|
|
|
|
(language) @injection.language)
|
|
|
|
(code_fence_content) @injection.content (#set! injection.include-unnamed-children))
|
|
|
|
|
2022-12-23 05:21:02 +04:00
|
|
|
((html_block) @injection.content
|
|
|
|
(#set! injection.language "html")
|
|
|
|
(#set! injection.include-unnamed-children)
|
|
|
|
(#set! injection.combined))
|
2022-08-06 19:56:48 +04:00
|
|
|
|
2022-10-03 18:14:16 +04:00
|
|
|
((pipe_table_cell) @injection.content (#set! injection.language "markdown.inline") (#set! injection.include-unnamed-children))
|
|
|
|
|
2022-08-12 18:27:50 +04:00
|
|
|
((minus_metadata) @injection.content (#set! injection.language "yaml") (#set! injection.include-unnamed-children))
|
|
|
|
((plus_metadata) @injection.content (#set! injection.language "toml") (#set! injection.include-unnamed-children))
|
2022-08-06 19:56:48 +04:00
|
|
|
|
|
|
|
((inline) @injection.content (#set! injection.language "markdown.inline") (#set! injection.include-unnamed-children))
|