Skip to content

Commit

Permalink
Fix Markdown Metadata (helix-editor#3400)
Browse files Browse the repository at this point in the history
  • Loading branch information
erasin authored and AlexanderBrevig committed Aug 29, 2022
1 parent 08f6220 commit 74eab55
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions runtime/queries/markdown/injections.scm
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@

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

((inline) @injection.content (#set! injection.language "markdown.inline") (#set! injection.include-unnamed-children))

0 comments on commit 74eab55

Please sign in to comment.