Conversation
In some instances users want to disable spell checking for sections of a document, instead of enabling/disabling it for the whole document. This introduces spell checking guards in the form of special HTML comments. For everything enclosed in a <!-- mkdocs-spellcheck-disable --> ... <!-- mkdocs-spellcheck-enable --> block, no spell checking is performed. Issue pawamoy#33: pawamoy#33
|
Thanks! More than creating a second parser, I meant to include the logic in the existing Could you also replace "disable" with "off", and "enable" with "on" everywhere? |
I've considered that but thought that splitting it is probably more in line with a "separation of concerns" philosophy. However, as the parsing logic is intertwined anyhow, this is probably the better approach, aggreed.
Can do |
feat: Add guards to disable checking for sections
In some instances users want to disable spell checking for sections of a
document, instead of enabling/disabling it for the whole document. This
introduces spell checking guards in the form of special HTML comments.
For everything enclosed in a
<!-- mkdocs-spellcheck-disable -->...<!-- mkdocs-spellcheck-enable -->block, no spell checking is performed.
Issue #33: #33