Ignore some blocks during spell checking #89
-
Hello, I work on a project that uses It doesn't feel natural to me to add all the terms of the title ("title" "of" "the" "link") to the personal dictionary of the project because each word is not a proper exception, it's the whole title in one particular location that I want to ignore. I would love to have a way to ignore a markdown block with something like this, as documented in remark-lint:
but the above doesn't seem to apply to Did I miss an easy way to ignore blocks with |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hi! Hmm, using English labels in links, in otherwise, say, French, docs, seems a bit weird to me? If you’d want to ignore all links, you could use the To use comments to control messages, which is what |
Beta Was this translation helpful? Give feedback.
Hi!
Hmm, using English labels in links, in otherwise, say, French, docs, seems a bit weird to me?
As an example, on a French Wikipedia page, you’ll see French text in links, even when they go to English-language pages.
If you’d want to notify readers, I’d personally probably add
[xxx (pages en anglais)](yyy)
or so?If you’d want to ignore all links, you could use the
source
option.source: ['inlineCode', 'link', 'linkReference']
To use comments to control messages, which is what
remark-lint
does forlint
messages, you can useremark-message-control
.You can configure it to look for
<!--spell -->
comments withname: 'spell'
, and then to control messages fromretext-spell
you’d setsources:…