diff options
| author | numToStr <vikasraj1911@gmail.com> | 2022-01-07 13:48:23 +0530 |
|---|---|---|
| committer | Stephan Seitz <stephan.seitz@fau.de> | 2022-01-07 11:14:29 +0100 |
| commit | ab691444ce49e3f015225154f6c3b78837b1da86 (patch) | |
| tree | b489e5218710a68a6c3614c9d1b2a16e2d117000 /queries/markdown/highlights.scm | |
| parent | 2a49c05f66f60278019469b075f8658769df68e0 (diff) | |
highlights(markdown): `image_description` as reference
Diffstat (limited to 'queries/markdown/highlights.scm')
| -rw-r--r-- | queries/markdown/highlights.scm | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/queries/markdown/highlights.scm b/queries/markdown/highlights.scm index 1f017d9c..34197182 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) |
