Closed PierreMarchand20 closed 5 years ago
Several Reveal plugins are already integrated. Which plugin are you interested in?
Well for a particular presentation, I wanted to try diagram-plugin, but I am not asking you to add it to your framework ! I was curious of how flexible it is to use the slide feature in academic. I wonder if it is not easier to host separately the presentations from my webpage to be able to play a little with reveal.js (and then, may be remark.js also)
PS: did you see that I tried to update the documentation ?
The Reveal initialization can be found in layouts/slides/baseof.html
. The file can be overrided to customize.
The diagram-plugin
isn't very well maintained. Perhaps adding SVG diagrams is a better solution.
I plan to add some useful shortcodes for slides once I have created and presented a few talks using the new feature.
Thanks for the documentation PR, I'll try to take a look at it when I have time.
Thank you for for answer.
FYI the edit button for the documentation creates a pull request that does not work. (See my pull request).
I am struggling to get 3rd party plugins to work - perhaps the method has changed since this issue was closed?
The plugin I would like to add is a pointer and annotator. I have downloaded the JS and CSS from the plugin and added them to /static/plugins/pointer/pointer.{css,js}
then added those in the respective script
and link
tags of /layouts/slides/baseof.html
. In the source of the rendered presentation I can see the links and the files can be accessed.
However, when I activate the plugin in the wowchemy-slides.js
script by adding RevealPointer
to the array, a blank page is rendered (though the source still has the content, it is just not displayed). If I remove only RevealPointer
from the array the slides would be rendered as expected.
Are there additional steps (or have I done something wrong) to:
baseof.html
enabledPlugins
of wowchemy-slides.js
If it helps, I have the following in my go.mod
file, using version 5.3.0.
module github.com/wowchemy/starter-book
go 1.14
require (
github.com/wowchemy/wowchemy-hugo-modules/v5 v5.3.0
)
Is there a way to use a reveal.js plugin ? (https://github.com/hakimel/reveal.js/wiki/Plugins,-Tools-and-Hardware)
I guess that we have to somehow add them in the layout
slides
.