mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
Use markdown metadata blocks for injection
This commit is contained in:
parent
cc7c075899
commit
f75e27c217
1 changed files with 5 additions and 1 deletions
|
|
@ -5,5 +5,9 @@
|
|||
|
||||
((html_block) @html)
|
||||
|
||||
(document . (section . (thematic_break) (_) @yaml @combined (thematic_break)))
|
||||
([
|
||||
(minus_metadata)
|
||||
(plus_metadata)
|
||||
] @yaml (#offset! @yaml 1 0 -1 0))
|
||||
|
||||
((inline) @markdown_inline (#exclude_children! @markdown_inline))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue