I want to stop Obsidian from reformating or changing characters.
For example, if I want to write =>, ->, <= or >=, Obsidian is reformatting those to a short form:
Looking from the “Source” mode:
Notice the first and second, the equal and the greater-than sign are merged.
Same with the hyphen and greater-than sign.
This does not happen on the 3rd and 4th.
But it does happen again on the math expression.
And if I open the notebook in the “Live Preview” mode, it looks like:
I prefer it if Obsidian does not replace the characters.
How can I do that?
I see the same in the Sandbox on Windows 11. Whatever the default monospace font Obsidian is using has those. I don’t see it on macOS.
If you change Settings > Appearance → Monospace font to a different monospace font without ligatures, it should be fine. I randomly picked Source Code Pro (not sure if that’s in Windows by default) and the => weren’t combined in the code block.