Docs: add note on how to enable/disable preview links individually.

Closes #2005.
edit
Benjamin Tan 2018-02-07 12:51:14 +08:00
parent 410f7767b9
commit 7991693bde
2 changed files with 4 additions and 0 deletions

View File

@ -270,6 +270,8 @@ Reveal.initialize({
hideAddressBar: true, hideAddressBar: true,
// Opens links in an iframe preview overlay // Opens links in an iframe preview overlay
// Add `data-preview-link` and `data-preview-link="false"` to customise each link
// individually
previewLinks: false, previewLinks: false,
// Transition style // Transition style

View File

@ -145,6 +145,8 @@
hideAddressBar: true, hideAddressBar: true,
// Opens links in an iframe preview overlay // Opens links in an iframe preview overlay
// Add `data-preview-link` and `data-preview-link="false"` to customise each link
// individually
previewLinks: false, previewLinks: false,
// Exposes the reveal.js API through window.postMessage // Exposes the reveal.js API through window.postMessage