Marmaid math renders dark text in dark theme

Steps to reproduce

Create a Marmaid graph with math expression values like:

sequenceDiagram
	autonumber
	
	participant 1 as A
	participant 2 as B
	participant 3 as C
	
	1->>2: Solve: X
	2-->>1: Answer: Y
	2-->>3: $$\sqrt{2+2}=\sqrt{4}=2$$

Did you follow the troubleshooting guide? [Y/N]

Yes

Expected result

The math expression $$\sqrt{2+2}=\sqrt{4}=2$$ should be rendered white(-ish), so it’s visible/readable in dark (default) theme.

Actual result

The expression is rendered using dark text, which is impossible to read in the dark theme.

Environment

SYSTEM INFO:
	Obsidian version: v1.9.12
	Installer version: v1.9.12
	Operating system: Darwin Kernel Version 24.6.0: Mon Jul 14 11:28:17 PDT 2025; root:xnu-11417.140.69~1/RELEASE_X86_64 24.6.0
	Login status: logged in
	Language: en
	Catalyst license: none
	Insider build toggle: off
	Live preview: on
	Base theme: adapt to system
	Community theme: none
	Snippets enabled: 0
	Restricted mode: off
	Plugins installed: 1
	Plugins enabled: 0

RECOMMENDATIONS:
	none

Additional information

None

thanks

1 Like