Bold and italic markdown in the text colour, so they show on light backgrounds

This commit is contained in:
Callum Alpass committed 2026-11-03 00:37:16 +11:00
1 parent 67c8a79275
commit 356b9e5818
1 file changed
+2 -2
+2 -2
View File
@@ -85,8 +85,8 @@ export function getMarkdownStyle(): SyntaxStyle {
markdownStyle ??= SyntaxStyle.fromStyles({ markdownStyle ??= SyntaxStyle.fromStyles({
default: { fg: colors.text }, default: { fg: colors.text },
"markup.heading": { fg: colors.text, bold: true }, "markup.heading": { fg: colors.text, bold: true },
"markup.strong": { bold: true }, "markup.strong": { fg: colors.text, bold: true },
"markup.italic": { italic: true }, "markup.italic": { fg: colors.text, italic: true },
"markup.strikethrough": { dim: true }, "markup.strikethrough": { dim: true },
// The renderer appends " (url)" after a link's text even with conceal on, and offers // The renderer appends " (url)" after a link's text even with conceal on, and offers
// no way to hide it; keep the text as the link and the rest as quiet as it can be. // no way to hide it; keep the text as the link and the rest as quiet as it can be.