From ac4b72fcc88b1930b974196c75fde7d55e21d71f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bla=C5=BE=20Hrastnik?= Date: Wed, 15 Dec 2021 18:03:02 +0900 Subject: [PATCH] Add injections query for markdown --- runtime/queries/markdown/injections.scm | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/runtime/queries/markdown/injections.scm b/runtime/queries/markdown/injections.scm index e69de29b..ff3c5fe6 100644 --- a/runtime/queries/markdown/injections.scm +++ b/runtime/queries/markdown/injections.scm @@ -0,0 +1,8 @@ +(fenced_code_block + (info_string) @injection.language + (code_fence_content) @injection.content) + +((html_block) @injection.content + (#set! injection.language "html")) +((html_tag) @injection.content + (#set! injection.language "html"))