From 356b9e581879433b1c015120b479a95a17417797 Mon Sep 17 00:00:00 2001 From: Callum Alpass Date: Tue, 3 Nov 2026 00:37:16 +1100 Subject: [PATCH] Bold and italic markdown in the text colour, so they show on light backgrounds --- src/ui/theme.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ui/theme.ts b/src/ui/theme.ts index a4bd67d..42d685c 100644 --- a/src/ui/theme.ts +++ b/src/ui/theme.ts @@ -85,8 +85,8 @@ export function getMarkdownStyle(): SyntaxStyle { markdownStyle ??= SyntaxStyle.fromStyles({ default: { fg: colors.text }, "markup.heading": { fg: colors.text, bold: true }, - "markup.strong": { bold: true }, - "markup.italic": { italic: true }, + "markup.strong": { fg: colors.text, bold: true }, + "markup.italic": { fg: colors.text, italic: true }, "markup.strikethrough": { dim: true }, // 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.