Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tmaier/docker-markdown-spellcheck

A spell checker for Markdown files. Ready for CI with Docker
https://github.com/tmaier/docker-markdown-spellcheck

Last synced: about 1 month ago
JSON representation

A spell checker for Markdown files. Ready for CI with Docker

Awesome Lists containing this project

README

        

# Docker image for node-markdown-spellcheck

This is a lightweight docker image for [`node-markdown-spellcheck`](https://github.com/lukeapage/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.

```bash
$ 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:

```bash
$ docker run --rm -ti tmaier/markdown-spellcheck:latest hunspell -D
```

```bash
$ 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

```bash
$ docker run --rm -ti -v $(pwd):/workdir tmaier/markdown-spellcheck:latest --report "**/*.md"
```

## Author

[Tobias L. Maier](https://tobiasmaier.info) for [BauCloud GmbH](https://www.baucloud.com)