AsciiDoc

Learn how Vale handles AsciiDoc content.

AsciiDoc is supported through the external program Asciidoctorarrow-up-right. See their installationarrow-up-right 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:

You can customize how asciidoctor is called by passing document attributesarrow-up-right:

StylesPath = styles

[asciidoctor]
# attribute = value
#
# where 'YES' enables and 'NO' disables.

# enable
experimental = YES

# assign a specific value
attribute-missing = drop

[*.adoc]
BasedOnStyles = Vale

Heads up!

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:

  • Turn off a specific rule:

  • Turn off specific match(es) within a rule:

  • Turn on or off specific styles:

  • Set styles (enabling them and switching off any other styles):