pawamoy / mkdocs-spellcheck

A spell checker plugin for MkDocs.
https://pawamoy.github.io/mkdocs-spellcheck/
ISC License
15 stars 3 forks source link

Option to ignore elements with specific classes #6

Open pawamoy opened 2 years ago

pawamoy commented 2 years ago

Is your feature request related to a problem? Please describe. It's possible to show mermaid diagrams using a mermaid class on divs. The issue is that the contents of the div is text and is therefore spell checked, triggering useless errors.

Describe the solution you'd like An option to ignore specific classes, something like:

ignore_classes:
- mermaid
- nospellcheck

Describe alternatives you've considered /

Additional context /