BlockIgnores
StylesPath = styles
[*.md]
BasedOnStyles = Vale
BlockIgnores = (?s) *({< file [^>]* >}.*?{</ ?file >})Learn define custom block-level ignores in your Vale configuration.
Heads up!
BlockIgnores are only supported in Markdown, reStructuredText, AsciiDoc, and Org Mode.
StylesPath = styles
[*.md]
BasedOnStyles = Vale
BlockIgnores = (?s) *({< file [^>]* >}.*?{</ ?file >})BlockIgnores allow you to exclude certain block-level sections of text that don’t have an associated HTML tag that could be used with SkippedScopes.
The idea is to write a regular expression that captures the entire block in the first grouping. See this regex101 session for a more thorough explanation.
