AsciiDoc is supported through the external program Asciidoctor. See their installation instructions to get started. You’ll need to ensure that
the asciidoctor executable is available in your $PATH.
The supported extensions are .adoc, .asciidoc, and .asc.
By default, Vale ignores:
Front matter: Blocks surrounded by --- or +++ delimiters.
Make sure the surround the inline passthrough statements with newlines, as shown below.
Vale supports comment-based configuration in AsciiDoc files:
Turn Vale off entirely:
adoc
Copy
pass:[<!-- vale off -->]This text will be ignored.pass:[<!-- vale on -->]
Turn off a specific rule:
adoc
Copy
pass:[<!-- vale Style.Redundancy = NO -->]This is some text ACT testpass:[<!-- vale Style.Redundancy = YES -->]
Turn off specific match(es) within a rule:
adoc
Copy
pass:[<!-- vale Style.Redundancy["ACT test","OTHER"] = NO -->]This is some text ACT testpass:[<!-- vale Style.Redundancy["ACT test","OTHER"] = YES -->]