MdSpell

Gem Version Build Status Code Climate Test Coverage Inline docs Dependency Status

A Ruby markdown spell checking tool.

Installation

To install from rubygems.org, run:

$ gem install mdspell
Successfully installed mdspell-0.1.3
1 gem installed

On top of that, make sure that GNU Aspell is installed on the system:

# Ubuntu
$ sudo apt-get install aspell
# Arch Linux
$ sudo pacman -S aspell

Usage

To spell-check markdown files, simply run mdspell with the filename (or directory) as a parameter. For each spelling error found, MdSpell will display the misspelled word, filename and line number:

$ mdspell README.md spec
README.md:19: MD014 Dollar signs used before commands without showing output
README.md:36: MD014 Dollar signs used before commands without showing output
README.md:42: MD014 Dollar signs used before commands without showing output
spec/examples/with_errors.md:1: mispelled
spec/examples/with_errors.md:3: qiute
spec/examples/with_errors.md:3: actualy
spec/examples/with_errors.md:5: tobe
spec/examples/complete.md:24: Unordered

MIT Licensed

See LICENSE file for full license text.