diff options
author | Erasin | 2022-08-12 14:27:50 +0000 |
---|---|---|
committer | GitHub | 2022-08-12 14:27:50 +0000 |
commit | 1eeca1067569a1435769f061a3c6feed39103b9c (patch) | |
tree | 081053039174ced6ca1a43ec7f36ab8383c10606 /runtime | |
parent | 21f2affa16b01f48ee88a6070ae492537b8360e3 (diff) |
Fix Markdown Metadata (#3400)
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/queries/markdown/injections.scm | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/runtime/queries/markdown/injections.scm b/runtime/queries/markdown/injections.scm index 9940e961..f94b9f98 100644 --- a/runtime/queries/markdown/injections.scm +++ b/runtime/queries/markdown/injections.scm @@ -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)) |