-
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
Plugin config2 #204
Plugin config2 #204
Conversation
and I feel somehow innocent for the stalled build failure of Job #567.1 , also because all other seem to be fine |
re-triggered build, now everything is green :) |
now I destroyed the tests again :( but it's just an additional empty text line that is now there so I think I can fix the tests interesting that jruby has no problem with this! |
again green, all plugins that are in reveal js can now be turned off or on, |
In AsciiDoc, a blank value is equivalent to "true", so I would recommend:
Then you just check if it is set (e.g, |
Thanks @mojavelinux for the pointer!
I made the change suggested by @mojavelinux. Thanks for the reminder about attributes by the way. I gave this a serious look and one last thing I have to say before I merge is about consistency. Everything we have done so far that was not already an AsciiDoc[tor] standard has been namespaced using the Now we introduce new May I rename the attributes to: Thoughts, concerns? |
👍
Since these states are mutually exclusive, that's when I'd propose switching to a single attribute with a true boolean value ( The empty attribute convention in AsciiDoc is more for when you want to just flip on a built-in setting or flip it off, modifying it from its default state. But since in this case we don't know all the possible plugin names upfront, and some are on by default and others not, I think an explicit value might actually be more appropriate and user-friendly. |
Thanks for all the feedback! for me the names don't matter, as long as I have the functionality, we know the available plugins upfront, those are that delivered by reveal.js itself an, also somehow, important question, at least for me is, do you want me to make the changes? however, the, now available, print-pdf functionality is great. |
Updated docs accordingly and reworded a little
I'm ready for the merge at this point. But before we merge, shouldn't we disable |
@a4z don't worry, we're figuring this all out together. Sharing insight about conventions is where I happen to think I can add the most value, so I try to chime in when I can.
Got it. That makes sense. I guess where my comment was headed is that using AsciiDoc boolean-stlye attributes (e.g., |
amazing, thanks Oliver for implementing those changes! and the
I would love to see this because the natural thing in the context of asciidoctor-reveal.js is disabling those both plugins. |
No one could practically use them and this reduce the bloat
suggestion for #201 ,
please review, and say if this is OK.
I would like to add a likewise option for enable-plugin-pfd, to be able to load the default pdf plugin without adding it to the custom plugins, but before doing any further adjustment it would be create to get some feedback