Closed
Description
Hi, I'm trying to set the disableLayout option to true but the option seems to be not supported or don't work with the syntax:
:revealjs_disableLayout: true
in .adoc files.
I wonder how can I use this option with asciidoctor-reveal.js or have a similar behaviour with another trick and why this option seems to be deliberated avoid
Activity
g4gilson commentedon Oct 1, 2020
Was working with a custom reveal js on my computer. Issue still open
ggrossetie commentedon Nov 28, 2020
This option is currently not supported by the converter.
If you want to contribute this feature, you will need to add it in
templates/document.html.slim
.You can take inspiration from
revealjs_help
:asciidoctor-reveal.js/templates/document.html.slim
Line 151 in 52e9335
For reference, here's the reveal.js default configuration: https://github.com/hakimel/reveal.js/blob/94d98ff7d89e35c7d5b289ba387cdb0d42b30793/js/reveal.js#L115-L117
And here's what you would need to add in the
document.html.slim
file:ggrossetie commentedon Dec 4, 2020
@g4gilson I plan to include this enhancement/fix as part of the next release. Do you want to contribute it or should I go forward and take care of it?
g4gilson commentedon Dec 7, 2020
If that don't bother you, you can take care of it. I had some difficulties to make the building environment and your previous answer is what I was thinking to add it 👍 . Thank you for your answer :)
ggrossetie commentedon Dec 7, 2020
No worries, I will take care of it.
Thanks for reporting this issue 👍
resolves asciidoctor#381 allow to configure disableLayout
resolves asciidoctor#381 allow to configure disableLayout