-
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
Add data-state to slides #61
Conversation
With changes proposed in #52
Aside than that: looking good! All that is missing is the documentation (and maybe a CSS style example would be nice). |
You are right. We can merge this first. Documentation: End user documentation in the readme. In it point to reveal Thanks! On Sat, Mar 19, 2016, 2:38 AM Nicolai Parlog [email protected]
|
Still waiting on the documentation. |
Hi @obilodeau, sorry, I missed the previous message. If you're up for doing it, that would be great. |
Great work, can't wait to find this in the next release. :) |
Oh wait, this was the asciidoctor project without releases. Nevermind... |
Continuous releases 😉 |
Reveal.js has the concept of slide states, where a slide's value for
data-state
will be applied to the document as a CSS class. With this it is easy to, e.g. give selected slides a distinct style.The reaveal.js backend does currently not set the state. With the change proposed here, the following works:
Which leads to
I did not thoroughly check whether this change should also be applied to one of the other templates.