This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// the code below can be added to the end of your Reveal slide deck to implement | |
// per slide theme setting via the data-theme attribute | |
// I put this in right below the call to Reveal.initialize() | |
// the code is smart enough to restore the previous default theme | |
// (or slide specific theme) as you move forward and backward | |
// it also takes into account vertical slide stacks with a data-theme | |
// attribute on the outer <section> tag and allows individual vertical | |
// slides to specify their own override |
NewerOlder