diff --git a/queries/markdown/highlights.scm b/queries/markdown/highlights.scm index 1f017d9c1..34197182c 100644 --- a/queries/markdown/highlights.scm +++ b/queries/markdown/highlights.scm @@ -13,7 +13,6 @@ (setext_h2_underline) ] @punctuation.special - [ (code_span) (link_title) @@ -31,8 +30,11 @@ (link_destination) @text.uri -(link_label) @text.reference -(link_text) @text.reference +[ + (link_label) + (link_text) + (image_description) +] @text.reference [ (list_marker_plus) @@ -48,7 +50,6 @@ (hard_line_break) ] @string.escape - (image "!" @punctuation.delimiter) (image "[" @punctuation.delimiter) (image "]" @punctuation.delimiter)