Write an italic sentence and in the middle add an inline formula with asterisks, for example
*(This is a sentence in italic and some useful math: $Re(z)=1/2 z + z^*$ it should still be italic here)*
Expected result
The block math chars should be isolated from the formatting ones and not taken into account
Actual result
In the reading view, the characters inside the math block get rendered as formatting characters.
It doesn’t happen in the live preview.
Environment
Operating system:
Debug info:
SYSTEM INFO:
Obsidian version: v1.1.9
Installer version: v0.14.6
Operating system: Windows 10 Home 10.0.19044
Login status: not logged in
Insider build toggle: off
Live preview: on
Legacy editor: off
Base theme: dark
Community theme: none
Snippets enabled: 0
Restricted mode: off
Plugins installed: 9
Plugins enabled: 6
1: Advanced Tables v0.17.3
2: Excalidraw v1.7.19
3: Outliner v3.0.0
4: Novel word count v2.5.1
5: Latex Suite v1.6.11
6: Underline v1.2.1
RECOMMENDATIONS:
Community plugins: for bugs, please first try updating all your plugins to latest. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community plugins.
In editing mode: go to italics with * character. Then start an equation $. In the equation, use a * character. Close the equation, close the italics.
The text that made me discover it:
*Method (Determine $\mathbb{Z}/m\mathbb{Z}^*$ from $\mathbb{Z}/m\mathbb{Z}$):* an element $a$ of $\mathbb{Z}/m\mathbb{Z}$ has a multiplicative inverse if $\gcd(a, m) = 1$. We de-compose $m$ in prime factors, and remove every element of $\mathbb{Z}/m\mathbb{Z}$ that is in the decomposition, or a product of some elements in the decomposition.
Did you follow the troubleshooting guide? [Y/N]
Yes
Expected result
When the markdown is interpreted, the * in the equation does not close italics outside the equation.
This is the interpretation expected (correct in editing mode):
In this example, there is a * symbol between ^ and $.
My interpretation: the * symbol inside the equation is interpreted as markdown, and hidden. The text afterwards is not in italics anymore.
The first equation is not interpreted anymore, as when the * is hidden the math becomes illegal. That’s not a bug, only a consequence.
Environment
SYSTEM INFO:
Obsidian version: 1.12.7
Installer version: 1.12.7
Operating system: #1 SMP PREEMPT_DYNAMIC Wed Mar 25 18:23:49 UTC 2026 6.19.10-300.fc44.x86_64
Login status: not logged in
Language: fr
Insider build toggle: off
Live preview: on
Base theme: adapt to system
Community theme: none
Snippets enabled: 0
Restricted mode: on
RECOMMENDATIONS:
none
Fedora KDE 44, bug reproduced in the AppImage just downloaded.
Once you’ve done the above, delete everything above this line.
Steps to reproduce
x_i ah $p_{data}$
type in the above line and turn on preview mode
Expected result
“data” should appear as the subscripts following p (latex mode)
Actual result
xi ha $p{data}$
Environment
SYSTEM INFO:
Obsidian version: v1.3.2
Installer version: v1.2.8
Operating system: Darwin Kernel Version 22.2.0: Fri Nov 11 02:03:51 PST 2022; root:xnu-8792.61.2~4/RELEASE_ARM64_T6000 22.2.0
Login status: logged in
Catalyst license: supporter
Insider build toggle: on
Live preview: on
Legacy editor: off
Base theme: dark
Community theme: none
Snippets enabled: 0
Restricted mode: on