This presentation demonstrates how a Reveal.js plugin can be added.
It can make any slide an image gallery. Here are a few examples.
These are the steps to use this plugin for this reveal-hugo presentation.
1
Copy the plugin CSS and JavaScript into the static directory
2
Add the JavaScript (and optionally css) file path to the plugins
field in the
front matter
[[reveal_hugo.plugins]]
# name must match the name by which the plugin is exported
name = "Gallery"
source = "plugin/gallery/gallery.plugin.js"
css = "plugin/gallery/gallery.css"