List with all-but-one greyed out #4572
-
In a revealjs presentation, I have an outline slide like:
I would like to grey-out all but one item in the list to indicate what part of the presentation we're on. The closest I could get was:
But (a) it requires a mouse click/advance, and (b) it has an unnecessary newline (otherwise the fragment call just shows up as plain text). How should I be doing this? Apologies if the answer is the docs/discussions somewhere, I searched but couldn't find anything. Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 8 replies
-
I think you're probably looking decorate the items themselves, so you can use spans and a custom class:
That won't fade out the bullet items, unfortunately. AFAICT there's no simple way to wrap a single |
Beta Was this translation helpful? Give feedback.
-
May I suggest the following Quarto extension which sole purpose is to do what you want to do. |
Beta Was this translation helpful? Give feedback.
.fragment
is meant to indicate a click for transitioning from one state to the next, and.semi-fade-out
is meant to indicate "semi fade this out when clicked". We document this in our Advanced Reveal page. So this is all working correctly, even if it's not what you expected.I think you're probably looking decorate the items themselves, so you can use spans and a custom class:
That won't fade out the bullet items, unfortunate…