From 7991693bde3ee680868dfbfa1291d96735571c22 Mon Sep 17 00:00:00 2001 From: Benjamin Tan Date: Wed, 7 Feb 2018 12:51:14 +0800 Subject: [PATCH] Docs: add note on how to enable/disable preview links individually. Closes #2005. --- README.md | 2 ++ js/reveal.js | 2 ++ 2 files changed, 4 insertions(+) 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