mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-26 03:59:55 +00:00
Don't apply the 'literal' color to entire markdown code blocks (#2579)
### Before ![Screen Shot 2023-06-06 at 2 32 46 PM](https://github.com/zed-industries/zed/assets/326587/036f1da3-19c6-4979-adc6-c3133f8d63dc) ### After ![Screen Shot 2023-06-06 at 2 32 08 PM](https://github.com/zed-industries/zed/assets/326587/6d4729db-b76a-4052-847e-fd9de346f194) 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)
|
||||
] @punctuation.list_marker
|
||||
|
||||
[
|
||||
(indented_code_block)
|
||||
(fenced_code_block)
|
||||
(code_span)
|
||||
] @text.literal
|
||||
(code_span) @text.literal
|
||||
|
||||
(fenced_code_block
|
||||
(info_string
|
||||
(language) @text.literal))
|
||||
|
||||
(link_destination) @link_uri
|
||||
(link_text) @link_text
|
||||
|
|
Loading…
Reference in a new issue