-
Notifications
You must be signed in to change notification settings - Fork 188
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reveal JS autoslide problem #367
Comments
For reference: asciidoctor/asciidoctor#3673 (comment)
I was only suggesting what the syntax should be but since it's not implemented it won't work. data-autoslide=(attr "autoslide") in here: asciidoctor-reveal.js/templates/section.html.slim Lines 56 to 57 in 2eb03a5
Then test add an example in the |
I'm not familiar with Ruby, |
The templates are "compiled" so it won't work if you update locally the template file |
I've cloned this repo and added
after this i run again |
can you run |
Changed sadly nothing. |
Damn! I will give it a try 😉 |
I just did and it's working: $ rvm use [email protected] --create
$ bundle install Edit the file: $ grep -n5 autoslide templates/section.html.slim
52- data-background-iframe=(attr "background-iframe")
53- data-background-video=data_background_video
54- data-background-video-loop=((attr? 'background-video-loop') || (option? 'loop'))
55- data-background-video-muted=((attr? 'background-video-muted') || (option? 'muted'))
56- data-background-opacity=(attr "background-opacity")
57: data-autoslide=(attr "autoslide")
58- data-state=(attr 'state'))
59- - unless hide_title
60- h2=section_title
61- - if parent_section_with_vertical_slides
62- - unless (_blocks = blocks - vertical_slides).empty? Create a presentation: $ cat presentation.adoc -p
= Presentation
[autoslide=15000]
== Slide Build and run: $ bundle exec rake build
$ bundle exec asciidoctor-revealjs ./presentation.adoc -o presentation.html
|
resolves #367 allow to configure autoslide timer per slide
I'm Sorry by me it worked too :), had a typo in the -o argument. |
No worries 😉 |
I want to use Reveal JS autoslide for a presentation, and would overwrite this function with
:data-autoslide:
integer like it is descript in this document but it won't change his first value.The text was updated successfully, but these errors were encountered: