Closed obilodeau closed 5 years ago
That's a good point, thanks!
I think the CLI should check if the required library is an object and if this object has a register
function. If it's the case then we should call the register
function before doing the conversion.
Due to the change we introduced in https://github.com/asciidoctor/asciidoctor-reveal.js/issues/219, fixing issue https://github.com/asciidoctor/asciidoctor-reveal.js/issues/205.
stacktrace:
This code is unreleased and the breaking behavior will be advertized in asciidoctor-reveal.js'. I just wanted to plug how to use
asciidoctor-cli.js
in the docs but stumbled upon the issue when testing.No rush, I can always document using asciidoctorjs cli later. It's nice btw. Since reveal.js is in Javascript, it simplifies deployment greatly. I'll probably start promoting this instead of the ruby back-end to colleagues.