sanity checks for both asciidoc & asciidoctor [from asciidoc ml]

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

sanity checks for both asciidoc & asciidoctor [from asciidoc ml]

ciampix
----- Forwarded message from Marco Ciampa <[hidden email]> -----

Date: Wed, 7 Oct 2020 08:13:08 +0200
From: Marco Ciampa <[hidden email]>
To: [hidden email]
Subject: sanity checks for both asciidoc & asciidoctor

Sanity checks
=============

Hello devs,
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?
Something like:

 asciidoc(tor) --sanity-check

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

and more if you find some other things to do...

feedback please!

--

Saluton,
Marco Ciampa

--
You received this message because you are subscribed to the Google Groups "asciidoc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/asciidoc/20201007061308.GA19815%40marco-N24-25JU.

----- End forwarded message -----

--

Saluton,
Marco Ciampa