Closed jcayouette closed 9 months ago
The --extension
option is not how you register an Asciidoctor extension. That's for registering in Antora extension. The next version of Antora is going to show a clearer warning when this situation occurs.
The correct way to enable an Asciidoctor extension is to use the playbook as follows:
asciidoc:
extensions:
- '@asciidoctor/tabs'
This is explained in the Antora integration guide. See https://github.com/asciidoctor/asciidoctor-tabs/blob/main/docs/use-with-antora.adoc#generator
In the future, please ask questions about usage in the project chat. In this case, it should be the Antora chat at https://chat.antora.org. Thanks!
Perhaps a similar issue as: #66
No it is not. Antora uses Asciidoctor.js 2 and is thus compatible with the current release of Asciidoctor Tabs.
Will do, thank you @mojavelinux .
I am trying to use asciidoctor-tabs as an extension with Antora. I have added both the CSS and Javascript to our supplemental files but when I attempt to register the extension via our make file in the form of:
The build command fails with:
@asciidoctor/tabs 1.0.0-beta.6 asciidoctor@3.0.3 @antora/cli: 3.1.7 @antora/site-generator: 3.1.7
Perhaps a similar issue as: https://github.com/asciidoctor/asciidoctor-tabs/issues/66
If this is the case how can I avoid this error?