Open ebousse opened 1 year ago
Hello Erwan,
The reason is that we are overriding the built-in converter with templates: https://github.com/asciidoctor/asciidoctor-reveal.js/blob/master/templates/example.html.slim
So we need to implement this logic in the example.html.slim
template. Feel free to submit a pull request to add this feature, I will gladly merge it!
Thank you for answering! Makes sense now!
Asciidoc provides a way to declare collapsible blocks, as written in the documentation: https://docs.asciidoctor.org/asciidoc/latest/blocks/collapsible/
And when using the regular HTML5 generator of asciidoctor, a collapsible block is generated in this way:
<details> <summary class="title">Details</summary> … </details>
However, when using asciidoctor-reveal.js, this code is generated:
<div class="exampleblock">…
Is it planned to support collapsible blocks in asciidoctor-reveal.js? And in fact, since it relies on the HTML5 generator of asciidoctor, why isn't it already enabled?
Thanks for reading me!