mirror of
https://github.com/gitpitch/gitpitch.git
synced 2024-04-18 07:30:55 +08:00
Activated speaker-notes feature for offline presentations.
This commit is contained in:
parent
18ef3fd3a4
commit
912dd03796
|
@ -31,8 +31,8 @@
|
||||||
{ src: "@deps.revealjs(offline, ssm.fetchRevealVersionOverride())/plugin/chart/Chart.min.js"},
|
{ src: "@deps.revealjs(offline, ssm.fetchRevealVersionOverride())/plugin/chart/Chart.min.js"},
|
||||||
{ src: "@deps.revealjs(offline, ssm.fetchRevealVersionOverride())/plugin/chart/csv2chart.js"},
|
{ src: "@deps.revealjs(offline, ssm.fetchRevealVersionOverride())/plugin/chart/csv2chart.js"},
|
||||||
}
|
}
|
||||||
@if(ssm.showNotes()) {
|
@if(offline) {
|
||||||
{ src: "@deps.revealjs(offline, ssm.fetchRevealVersionOverride())/plugin/notes/notes.js", async: true },
|
{ src: "@deps.revealjs(offline, ssm.fetchRevealVersionOverride())/plugin/notes/notes.js", async: true },
|
||||||
}
|
}
|
||||||
{ src: "@deps.revealjs(offline, ssm.fetchRevealVersionOverride())/plugin/highlight/highlight.js", async: true, callback: function() { hljs.initHighlightingOnLoad(); } },
|
{ src: "@deps.revealjs(offline, ssm.fetchRevealVersionOverride())/plugin/highlight/highlight.js", async: true, callback: function() { hljs.initHighlightingOnLoad(); } },
|
||||||
@if(ssm.mathEnabled()) {
|
@if(ssm.mathEnabled()) {
|
||||||
|
@ -43,7 +43,7 @@
|
||||||
|
|
||||||
Reveal.configure({
|
Reveal.configure({
|
||||||
keyboard: {
|
keyboard: {
|
||||||
83: function() { // bind "s" key to "select" code block content
|
88: function() { // bind "x" key to "select" code block content
|
||||||
|
|
||||||
var currentSlide = Reveal.getCurrentSlide();
|
var currentSlide = Reveal.getCurrentSlide();
|
||||||
var preBlock = $(currentSlide).find("pre");
|
var preBlock = $(currentSlide).find("pre");
|
||||||
|
|
Loading…
Reference in New Issue
Block a user