Use markdown metadata blocks for injection

This commit is contained in:
MDeiml 2022-07-02 16:08:38 +02:00 committed by Christian Clason
parent cc7c075899
commit f75e27c217

View file

@ -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))