Dollar signs lead to italic in tab preview

Hi!

I encountered a very minor bug with tab preview, but I thought I would report it anyway.

Steps to reproduce

Create a note with the content of

apple 5$
banana 3$ 
bread 1$
carrot 8$
water 3$

Hover over this note in the tab bar, holding Cmd (on Mac) to see the note preview.

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

Yes. The results shown are for the latest sandbox env.

Expected result

The preview renders like the note in the main viewer.

Actual result

Dollar signs are confused with markdown dollars, leading to italic.

Environment

SYSTEM INFO:
Obsidian version: 1.12.4
Installer version: 1.12.4
Operating system: Darwin Kernel Version 24.6.0: Wed Nov 5 21:33:58 PST 2025; root:xnu-11417.140.69.705.2~1/RELEASE_ARM64_T6000 24.6.0
Login status: logged in
Language: en-GB
Catalyst license: none
Insider build toggle: off
Live preview: on
Base theme: adapt to system
Community theme: none
Snippets enabled: 0
Restricted mode: on
RECOMMENDATIONS:
none


it’s not a bug. Dollar sign is the beginning of an inline math block. You should escape it \$.

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.