I’m trying to learn Latin
I write some words and phrases in Latin (obviously). It would be nice if there were some way to turn off the spellcheckning of those notes.
Any way to do that in Obsidian?
I write some words and phrases in Latin (obviously). It would be nice if there were some way to turn off the spellcheckning of those notes.
Any way to do that in Obsidian?
There used to be a way to style the spellcheck underline with CSS, but I don’t think it’s possible anymore. It would be nice to set a cssClass for no spellcheck.
Not exactly elegant, but you could create two Templater files, say spell-OFF
and spell-ON
, and set them to hotkeys. Turn spellcheck off when you are studying Latin, turn it back on when you are done.
Contents of spell-OFF note →
<%*
// turn off spellcheck
this.app.vault.setConfig("spellcheck", false);
%>
and the contents of spell-ON note →
<%*
// turn on spellcheck
this.app.vault.setConfig("spellcheck", true);
%>
That solution is pure genius.
It’s a 50/50 tossup if I would remember to turn it back on after turning it off, but thank you.
UPDATE: All that Templater business and there’s a command already: Toggle spellcheck
. There’s almost always a command.
That’s a great workaround. Thank you!
I’ll try that.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.