Open Jean-Fischer opened 4 years ago
You can also try Reveal.config(extraConfig)
, if in editor.
You can also directly dynamically insert script tag into document.body
$body.append($("<script>").attr({
class: "reveal-js",
type: "text/javascript",
src: this.revealOptions.cdn + js
}));
Or
document.body.append(Object.assign(document.createElement("script"), {
src
}));
Personally, I only need custom markdown and changeable theme, though.
Hi ! Nice work ! I would like to add 3rd party RevealJs plugins to the editor. Is this possible? What would be the best approach?
In RevealJs I would normally just include these plugins in index.html within the Reveal.initialize block:
Do you plan to provide a similar way for including plugins on a per-project basis?