Don't apply the 'literal' color to entire markdown code blocks (#2579)
### Before  ### After  Release Notes: * Improved the syntax highlighting of fenced code blocks in markdown.
This commit is contained in:
commit
a9f865d828
1 changed files with 5 additions and 5 deletions
|
@ -14,11 +14,11 @@
|
||||||
(list_marker_parenthesis)
|
(list_marker_parenthesis)
|
||||||
] @punctuation.list_marker
|
] @punctuation.list_marker
|
||||||
|
|
||||||
[
|
(code_span) @text.literal
|
||||||
(indented_code_block)
|
|
||||||
(fenced_code_block)
|
(fenced_code_block
|
||||||
(code_span)
|
(info_string
|
||||||
] @text.literal
|
(language) @text.literal))
|
||||||
|
|
||||||
(link_destination) @link_uri
|
(link_destination) @link_uri
|
||||||
(link_text) @link_text
|
(link_text) @link_text
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue