Document ability to use custom AsciiDoc extensions
Describe support of custom extensions (asciidoc.extensions
).
asciidoc:
extensions:
- asciidoctor-plantuml
- /path/to/asciidoctor-shell-session-block
- ./lib/shout-block
Document the CLI -r
, --require <module>
option and how it is used to preload modules. The option follows the require()
function's module resolution rules. The value may be either a path to a file (relative to the current directory), or a node module name. The option can be specified multiple times.
This option gives the user the ability to load additional code into the runtime before Antora begins executing. A common use case for the flag is to register Asciidoctor extensions globally or modify Asciidoctor compliance settings in Antora.