Don't apply the 'literal' color to entire markdown code blocks

Max Brunsfeld created

Change summary

crates/zed/src/languages/markdown/highlights.scm | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)

Detailed changes

crates/zed/src/languages/markdown/highlights.scm 🔗

@@ -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