Docker image for node-markdown-spellcheck
October 24, 2020 ยท View on GitHub
This is a lightweight docker image for node-markdown-spellcheck.
A spell checker for Markdown files.
See https://github.com/lukeapage/node-markdown-spellcheck
The working directory is at /workdir. Mount your volume into that directory.
$ docker run --rm -ti -v $(pwd):/workdir tmaier/markdown-spellcheck:latest "**/*.md"
Other languages
Many additional directories can be found at /usr/share/hunspell.
List all languages available:
$ docker run --rm -ti tmaier/markdown-spellcheck:latest hunspell -D
$ docker run --rm -ti -v $(pwd):/workdir tmaier/markdown-spellcheck:latest --dictionary /usr/share/hunspell/de_DE_comb "**/*.md"
Continuous Integration (CI)
Run in report mode
$ docker run --rm -ti -v $(pwd):/workdir tmaier/markdown-spellcheck:latest --report "**/*.md"