What I’m trying to do
I’m using the “Code Emitter” plugin to run Python code within the editor. However, when I type
print("hello")
obsidian automatically changes it to
print(“hello”)
This is not the same because the quote character "
has been replaced with fancy unicode ones, “
and ”
. These are not Python syntax and cause an error. The same thing happens with single quotes, with '
being turned into ‘
and ’
.
So I’m looking for either a way to turn off these fancy quote characters (either globally or just within code blocks), or a quick way to type a normal "
in Obsidian without it being turned into a different character.
Things I have tried
I couldn’t see anything relating to quotes in the editor behaviour preferences, and I also couldn’t find anything previously about this in this forum.