improve markdown highlighting

This commit is contained in:
Alvaro Muñoz Sanchez 2021-12-29 10:38:13 +01:00 committed by Stephan Seitz
parent 8ada8faf2f
commit 142c017ecb
2 changed files with 15 additions and 5 deletions

View file

@ -13,14 +13,14 @@
(setext_h2_underline)
] @punctuation.special
(code_fence_content) @none
(code_span) @text.literal
[
(indented_code_block)
(fenced_code_block)
(code_span)
] @text.literal
(fenced_code_block)
] @punctuation.delimiter
(code_fence_content) @none
(emphasis) @text.emphasis
@ -44,3 +44,11 @@
(backslash_escape)
(hard_line_break)
] @string.escape
(inline_link "[" @punctuation.delimiter)
(inline_link "]" @punctuation.delimiter)
(inline_link "(" @punctuation.delimiter)
(inline_link ")" @punctuation.delimiter)
(shortcut_link "[" @punctuation.delimiter)
(shortcut_link "]" @punctuation.delimiter)

View file

@ -5,3 +5,5 @@
((html_block) @html)
((html_tag) @html)
((thematic_break) (_) @yaml @combined (thematic_break))