Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
quarto-dev
GitHub Repository: quarto-dev/quarto-cli
Path: blob/main/src/resources/create/extensions/revealjs-plugin/_extensions/qstart-filesafename-qend/qstart-filesafename-qend.ejs.js
12923 views
1
<%= `window.Reveal${classname} = function () {
2
return {
3
id: "Reveal${classname}",
4
init: function (deck) {
5
// TODO: Implement your plugin functionality
6
// Learn more at https://revealjs.com/creating-plugins/
7
8
// This example shuffles the deck when the 'T' key is pressed
9
deck.addKeyBinding({ keyCode: 84, key: "T" }, () => {
10
deck.shuffle();
11
});
12
13
},
14
};
15
};` %>
16
17