A spell checker plugin for MkDocs that checks spelling in Markdown content. It supports multiple backends (e.g., aspell, hunspell) and allows custom dictionaries. Current version 1.2.1 (2026-02-11), requires Python >=3.10, actively maintained on GitHub by pawamoy.
pip install mkdocs-spellcheckVerified import paths — ran on the pinned version, not inferred.
Enable the spellcheck plugin in your MkDocs configuration. Add known words to avoid false positives. The search plugin must be listed before spellcheck for compatibility.
Use `from mkdocs_spellcheck import SpellCheckPlugin` instead.
Place `search` before `spellcheck` in mkdocs.yml plugins list.
Install system package (e.g., `sudo apt install hunspell`) and ensure Python bindings are installed (e.g., `pip install hunspell`).
Switch to hunspell backend.
Ensure `known_words` is a list of strings under the spellcheck plugin block in mkdocs.yml.
Use top-level imports: `from mkdocs_spellcheck import SpellCheckPlugin`.
Install system hunspell (e.g., `sudo apt install hunspell`) and Python bindings (`pip install hunspell`).