-
Notifications
You must be signed in to change notification settings - Fork 146
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
How to auto-animate? #148
Comments
Could you tell us what you have tried ? Are you using the latest version of reveal-hugo (which updated its embedded reveal-js at 4.4.0) ? To my knowledge, reveal-hugo does not yet have facilitators for the auto-animate feature. But it does support adding html in your slides: <section data-noprocess>
<h1>Hello, world!</h1>
</section> With this feature, can you use the reveal-js animation blocks ? |
I created a test slideshow with one +++
title = "Animations"
outputs = ["Reveal"]
+++
# Automated animations
---
<section data-noprocess data-auto-animate>
<h1>Auto-Animate</h1>
</section>
<section data-auto-animate>
<h1 style="margin-top: 100px; color: red;">Auto-Animate</h1>
</section>
---
Another slide This animation block was copied from the auto-animate reveal-js documentation. Note that you need the latest reveal-hugo as this animation feature was added with reveal-js 4.0 and reveal-hugo was updated to support 4.4.0 on February 7 2023. |
In case others roll up here looking for how to get this to work with the
Did the charm for me. Note that the |
I have spent a whole afternoon trying to figure out how to use reveal.js 's auto-animate feaures, but I see no way :(
The text was updated successfully, but these errors were encountered: