aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Tan <demoneaux@gmail.com>2018-02-07 12:51:14 +0800
committerBenjamin Tan <demoneaux@gmail.com>2018-02-07 12:51:14 +0800
commit7991693bde3ee680868dfbfa1291d96735571c22 (patch)
tree2e6affb752a5b3a984fe7b2db31bfc784ee1b231
parent410f7767b9c96c330a1b62d35acbee666021e6ad (diff)
downloadperl-software-in-gnu-guix-7991693bde3ee680868dfbfa1291d96735571c22.tar
perl-software-in-gnu-guix-7991693bde3ee680868dfbfa1291d96735571c22.tar.gz
Docs: add note on how to enable/disable preview links individually.
Closes #2005.
-rw-r--r--README.md2
-rw-r--r--js/reveal.js2
2 files changed, 4 insertions, 0 deletions
diff --git a/README.md b/README.md
index fb93b7e..f2ab6ca 100644
--- a/README.md
+++ b/README.md
@@ -270,6 +270,8 @@ Reveal.initialize({
hideAddressBar: true,
// Opens links in an iframe preview overlay
+ // Add `data-preview-link` and `data-preview-link="false"` to customise each link
+ // individually
previewLinks: false,
// Transition style
diff --git a/js/reveal.js b/js/reveal.js
index f125c55..c371371 100644
--- a/js/reveal.js
+++ b/js/reveal.js
@@ -145,6 +145,8 @@
hideAddressBar: true,
// Opens links in an iframe preview overlay
+ // Add `data-preview-link` and `data-preview-link="false"` to customise each link
+ // individually
previewLinks: false,
// Exposes the reveal.js API through window.postMessage