Skip to content

Latest commit

 

History

History

README.md

CSpell html Dictionary

Html dictionary for cspell.

This is a pre-built dictionary for use with cspell.

Requirements

Tool Version
cspell >= 8
Code Spell Checker - Visual Studio Code >= 4

Local Installation

This package is bundled with CSpell.

Configuration

VSCode Settings

Add the following to your VSCode settings:

.vscode/settings.json

{
  "cSpell.dictionaries": ["html"],
}
CSpell Settings cspell.json

cspell.json

{
  "dictionaries": ["html"],
}
CSpell Settings cspell.config.yaml

cspell.config.yaml

dictionaries:
  - html

Local Installation using CDN

NOTE: This package is bundled with CSpell.

Dictionary Information

Name Enabled Description
html HTML dictionary.

Language Settings

Name Locale File Type
html * html

Predefined Patterns

Predefined patterns can be used to ignore or include sequences of text to be spell checked.

The following patterns are defined in this dictionary:

Name Description
HTML-id Matches values inside a double quoted 'id' attribute
HTML-src Matches values inside a double quoted 'src' attribute
HTML-class Matches values inside a double quoted 'class' attribute
HTML-IDREF-aria-activedescendant Matches values inside a double quoted 'aria-activedescendant' attribute
HTML-IDREF-aria-controls Matches values inside a double quoted 'aria-controls' attribute
HTML-IDREF-aria-describedby Matches values inside a double quoted 'aria-describedby' attribute
HTML-IDREF-aria-details Matches values inside a double quoted 'aria-details' attribute
HTML-IDREF-aria-errormessage Matches values inside a double quoted 'aria-error' attribute
HTML-IDREF-aria-flowto Matches values inside a double quoted 'aria-flowto' attribute
HTML-IDREF-aria-labelledby Matches values inside a double quoted 'aria-labelledby' attribute
HTML-IDREF-aria-owns Matches values inside a double quoted 'aria-owns' attribute
HTML-IDREF-for Matches values inside a double quoted 'for' attribute
HTML-symbol-entity Matches on HTML symbols like ♣

Contributing

Please help correct any mistakes in the dictionaries.

See: Contributing

Special thanks to all of our amazing contributors!

Dictionary Development

See: How to Create a New Dictionary

License

MIT

Some packages may have other licenses included.



Brought to you by Street Side Software Logo Street Side Software