Quellcode durchsuchen

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

Closes #2005.
Benjamin Tan vor 6 Jahren
Ursprung
Commit
7991693bde
2 geänderte Dateien mit 4 neuen und 0 gelöschten Zeilen
  1. 2 0
      README.md
  2. 2 0
      js/reveal.js

+ 2 - 0
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

+ 2 - 0
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