mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-24 20:14:35 -04:00
Add Slide Mode
using reveal.js and some part of reveal-md
This commit is contained in:
parent
75ae505a15
commit
f51b7370f0
81 changed files with 14277 additions and 7 deletions
|
@ -283,6 +283,7 @@ var ui = {
|
|||
shortStatus: $(".ui-short-status"),
|
||||
status: $(".ui-status"),
|
||||
new: $(".ui-new"),
|
||||
slide: $(".ui-slide"),
|
||||
publish: $(".ui-publish"),
|
||||
download: {
|
||||
markdown: $(".ui-download-markdown"),
|
||||
|
@ -792,6 +793,7 @@ function closestIndex(arr, closestTo) {
|
|||
var url = window.location.pathname;
|
||||
//share
|
||||
ui.toolbar.publish.attr("href", url + "/publish");
|
||||
ui.toolbar.slide.attr("href", url + "/slide");
|
||||
//download
|
||||
//markdown
|
||||
ui.toolbar.download.markdown.click(function () {
|
||||
|
@ -2280,4 +2282,4 @@ $(editor.getInputField())
|
|||
$(this).data('autocompleting', false);
|
||||
editor.setOption("extraKeys", defaultExtraKeys);
|
||||
}
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue