Documents: inline code in a sixth-level heading keeps its own color
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
962964e7da
commit
2e65b05a65
2 files changed
+4
-2
No files matched your search
@@ -180,7 +180,7 @@ pub fn markdown_highlights(text: &str, cx: &App) -> Vec<(Range<usize>, Highlight
|
||||
},
|
||||
Mark::Code => Highlight {
|
||||
background: Some(colors.sunken),
|
||||
..plain
|
||||
..Highlight::new(colors.fg)
|
||||
},
|
||||
Mark::Link => Highlight::new(colors.link),
|
||||
Mark::Quote => Highlight::new(colors.fg_muted),
|
||||
|
||||
Reference in new issue
Block a user