Markdown-aware spell check?

Here’s a lua filter for pandoc that can do the job.

If you wanted something lighter than pandoc you could write a similar filter for

Or you could write something in C that uses libcmark and its iterator interface. (Or in commonmark-js if JavaScript fits the project.) With this approach you could create a library that could be used anywhere.

1 Like