Date: Wed, 7 Oct 2020 08:13:08 +0200
From: Marco Ciampa <[hidden email]>
To: [hidden email] Subject: sanity checks for both asciidoc & asciidoctor
before posting a double feature request I would like to hear some
comments on the subject.
Discussing about the (apparent) small different behaviour of asciidoc and
asciidoctor for an asciidoc source processor (po4a) for translation
support (for instance balanced / unbalanced block fences ... BTW why not
force a balancing and maintain the old slack behaviour with a --compat or
the like option?) we all agreed that sanity checks on asciidoc content
should be done by the asciidoc compiler (either asciidoc or asciidoctor).
Why not implement such a subcommand with the same option for both compilers?
that would check these:
- report missing third party files or includes
- detect that the file is finished while still in a fenced block
- detect internal links to non-existent anchors
- detect inline formatting not closed at the end of a paragraph