From 1eeca1067569a1435769f061a3c6feed39103b9c Mon Sep 17 00:00:00 2001 From: Erasin Date: Fri, 12 Aug 2022 22:27:50 +0800 Subject: Fix Markdown Metadata (#3400) --- runtime/queries/markdown/injections.scm | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'runtime') 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)) -- cgit v1.2.3-70-g09d2