pawamoy / mkdocs-spellcheck

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

Option to ignore elements with CSS selectors #8

Open pawamoy opened 2 years ago

pawamoy commented 2 years ago

Is your feature request related to a problem? Please describe. Some HTML elements should not be checked, see #5, #6 and #7.

Describe the solution you'd like Instead of #5, #6 and #7, we could add an option to ignore elements by selecting them with CSS selectors. I guess we would need a library for that, because I don't have the ability to write a full, correct CSS selector. It might also be hard to fit this in the HTML stripper.

Describe alternatives you've considered Simple options like #5, #6 and #7.

Additional context /

Boost priority

Fund with Polar

Archmonger commented 1 year ago

On the note of this issue, if you decide to develop this I highly recommend using lxml for performing CSS selector queries.