When using code blocks there’s a lot of words/commands/phrases that aren’t real words.
Is there a simple(ish) way of disabling spell checking, but only inside of code blocks?
There’s this github issue with the same problem/request and it’s mentioned as being resolved in a commit, but it looks like its still happenening?
Thank you!
MrMugame
(MrMugame)
2
The css attribute seems to be only set for Fenced code blocks, i.e. triple backticks. Not for indented codeblocks nor for inline code.
I think it should really be set for InlineCode CodeText
EDIT: My conscience can’t do a pull at the moment, because I should really be studying
. Maybe someone else can fix it?
web/editor_state.ts
{
selector: "InlineCode CodeText",
disableSpellCheck: true,
},
and disableSpellCheck
should be removed for FencedCode