IgnoredClasses
Learn about how to ignore HTML classes.
StylesPath = styles
IgnoredClasses = my-class, another-class
[*.md]
BasedOnStyles = ValeIgnoredClasses names HTML classes whose content Vale won't lint. The classes may appear on inline- or block-level elements.
By default, Vale ignores problematic, pre, and code.
This is most useful for content a documentation tool generates, where the markup carries classes the prose doesn't control:
# Sphinx marks unresolved references this way; there's no point
# spell-checking them.
IgnoredClasses = problematic, guilabel, menuselectionBecause this key matches classes rather than tags, it's the one to reach for when what you want to skip isn't a distinct element—an inline <span> among other <span>s, say.
Last updated