diff --git a/crates/markdown/src/markdown.rs b/crates/markdown/src/markdown.rs index c2d8e45f16ea6f8dbe788cffae00a0bf7fc2b640..6751d2f78618e4759df5ebb1243e97f770f9dcc7 100644 --- a/crates/markdown/src/markdown.rs +++ b/crates/markdown/src/markdown.rs @@ -196,6 +196,11 @@ impl MarkdownStyle { font_size: Some(buffer_font_size.into()), font_weight: Some(buffer_font_weight), background_color: Some(colors.editor_foreground.opacity(0.08)), + color: cx + .theme() + .syntax() + .style_for_name("text.literal") + .and_then(|style| style.color), ..Default::default() }, link: TextStyleRefinement {