-
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
revealjs_backgroundTransition attribute has no effect #263
Comments
revealjs_backgroundTransition
has no effect
That's because of this issue: asciidoctor/asciidoctor#509 In brief, attributes cannot contain uppercase characters. You can write them that way, but the AsciiDoc processor forces them to lowercase. Therefore, the code needs to be changed so that it looks for |
Btw, there are a number of settings that are affected by this:
None of those are going to work as the code stands now. |
I'm currently desperately trying to get my presentation finished and this bug made me heavy headaches. Many attributes are silently failing and I was totally puzzled unless I noted that it was always attributes with casing in in and I remembered that Github issue I saw some time ago… @mojavelinux I'm unsure which way to go:
|
I would go with the first option. Case doesn't mean anything in AsciiDoc attributes, so there's never any reason to use it. If you submitted a PR, I would expect it could get merged quickly because this feature is broken as it stands. |
Thanks for the lightning-fast reply! I opened #267 |
P.S. I'm using my local patched version for now, so I'm good for now. No release pressure… |
This was fixed with the just-released 2.0.1. Can you confirm that the fixed version works for you? |
Closing. This was confirmed elsewhere as fixed. Feel free to re-open. |
I confirm it works perfectly well now. Thanks a lot! |
The following Asciidoc file contains a
revealjs_backgroundTransition
attribute, yet the generated HTML does outputbackgroundTransition: 'fade'
in the configuration instead.Built with the simplest possible command:
asciidoctor-revealjs slides.adoc
using the following software versions:The source Asciidoc and generated HTML are attached: slides.zip
The text was updated successfully, but these errors were encountered: