aspell and markdown
Series: [blog]
I mistype all the time. So it was time to catch at least the most obvious ones with aspell. (I know it is apparently no longer under active development, unlike hunspell. But it worked better with my typos. My test corpus was this blog as of today.)
For this blog (written in markdown) it was the one liner
for i in $(ls *.md); do aspell check --mode=markdown --lang=en $i ; doneI probably will maintain a my-wordlist.pws wordlist specific to the content of this blog (containing e.g. Kubernetes, Helm, CRDT,…).
To utilize it, I can run
aspell check --mode=markdown --lang=en -p ./my-wordlist.pws file-to-check.mdIn order to create your own .pws file: just create the personal_ws-1.1 lang num [encoding] header, followed by one word per line.
personal_ws-1.1 en 0
Kubernetes
Medoid
GitOps
crypto
…0 will be updated at the first run to the correct number of entries.
This ended up in my ~/.aspell.conf, so I don’t have to write it each time.