Send With Confidence
Partner with the email service trusted by developers and marketers for time-savings, scalability, and delivery expertise.
Time to read: 4 minutes
npm run spellcheck
to spellcheck all of the HTML and markdown files and allow the npm run spellcheck-file [filename]
to spellcheck [filename] (given it is HTML or markdown).
package.json
. This can all be done on the command line by the magic of npm.
mdspell
won't return any mistakes if you don't have any files or mistakes in your files. Next, we need to edit the package.json
directly to add the scripts spellcheck
and spellcheck-file
.
mdspell
` command accepts directory formats with wildcards '*
' and can exclude certain folders and subfolders with exclamation points '!
'.
mdspell
command or markdown-spellcheck
npm package, go to the markdown-spellcheck package documentation.
.spelling
file which is automatically checked by the mdspell
command. After first making the .spelling
file in the project root, the syntax is pretty easy.
Partner with the email service trusted by developers and marketers for time-savings, scalability, and delivery expertise.