summaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
Diffstat (limited to 'runtime')
-rw-r--r--runtime/queries/markdown/highlights.scm7
1 files changed, 4 insertions, 3 deletions
diff --git a/runtime/queries/markdown/highlights.scm b/runtime/queries/markdown/highlights.scm
index aee568c8..096c2954 100644
--- a/runtime/queries/markdown/highlights.scm
+++ b/runtime/queries/markdown/highlights.scm
@@ -8,11 +8,9 @@
(atx_heading (atx_h5_marker) @markup.heading.marker (heading_content) @markup.heading.5)
(atx_heading (atx_h6_marker) @markup.heading.marker (heading_content) @markup.heading.6)
-(code_fence_content) @none
-
[
(indented_code_block)
- (fenced_code_block)
+ (code_fence_content)
] @markup.raw.block
(block_quote) @markup.quote
@@ -26,6 +24,8 @@
(link_destination) @markup.link.url
(link_label) @markup.link.label
+(info_string) @label
+
[
(link_text)
(image_description)
@@ -51,3 +51,4 @@
(inline_link ["[" "]" "(" ")"] @punctuation.bracket)
(image ["[" "]" "(" ")"] @punctuation.bracket)
+(fenced_code_block_delimiter) @punctuation.bracket