I have been trying to find a way to spellcheck my HTML file's content in Sublime for quality control. I have referenced several articles referring to aspell
but after installation and trying to run through HTML files I am having to strip out all tags and its complicated trying to go through all HTML files on a package/project level. Is there a spellcheck tool that I can script with in the terminal that will ignore the tags and check the content? Any other ideas for better implementation I am for it
Vim's spell checking is smart enough to distinguish between HTML tags and their contents:
Spell checking is not enabled by default, and can be enabled by:
The documentation for spell checking in Vim can be browsed using
:help spell
.If you have never use Vim before, it can be a bit ... daunting. First install a more full-featured version:
Then run
gvimtutor
to learn the basics of Vim.You can use aspell in the command line:
the -H option makes it HTML aware.
if you don't have it just install by: