The generation of a PDF from that source fails. This is the error generated:
asciidoctor: ERROR: failed to parse formatted text: <!-- vale off --> (reason: Expected one of 'br', 'img', 'a', 'strong', 'em', 'code', 'font', 'span', 'button', 'kbd', 'sup', 'sub', 'mark', 'menu', 'del' after < at byte 2)
Check for existing issues
Environment
Describe the bug / provide steps to reproduce it
When trying to disable a specific rule (or vale entirely) via the method described here: https://vale.sh/docs/formats/asciidoc
The generation of a PDF from that source fails. This is the error generated:
This is most likely due to the fact that Asciidoctor with backend PDF does only have limited support for passthrough syntax. As described here: https://docs.asciidoctor.org/pdf-converter/latest/passthrough-content/