reveal.js
reveal.js copied to clipboard
Feature suggestion: Slide filtering for custom slideshows
Hi all,
Suggesting a feature here that I'd be willing to implement and do a PR for.
I have a few presentations that I'd love to convert to use RevealJS. However, we have one large slideshow and some subsections are only targeted to certain audiences (for context, it's a technical training but certain sections / examples only apply to certain languages).
I'd love to be able to apply filter tags to slides and then have RevealJS selectively load only the slides that match the applicable filter.
My thoughts on this so far:
- A filter of
*
means the slide shows up for all filters - No filter specified is the equivalent of a filter of
*
- Filters could be passed in to the query string in a comma-separated list, e.g.
?filters=filter1,filter2
would load slides withfilter1
orfilter2
specified and also all slides with*
or no filter. - Admin interface could include a checklist of available filters, sourced from slides and show/hide them accordingly.
Is this sort of thing something that RevealJS would be interested in receiving?
To clarify -- I am posting this here because it seems like it would be more of a core feature than a plugin. If it would be better as a plugin, let me know.
@SeanKilleen have you implemented this feature?