summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorHakim El Hattab2012-10-28 18:48:52 -0400
committerHakim El Hattab2012-10-28 18:49:01 -0400
commit605f7140e3406d4decd4182e13059e5666fdac8c (patch)
tree7875484f036072f9e45ed236ed7e73259a52bda7
parente693717f2aa2d65f8f0cf6412a01084280fc2c9a (diff)
updated markdown references in notes plugin
-rw-r--r--README.md10
-rw-r--r--plugin/notes-server/notes.html2
-rw-r--r--plugin/notes/notes.html3
3 files changed, 8 insertions, 7 deletions
diff --git a/README.md b/README.md
index a7527a5..06edf1a 100644
--- a/README.md
+++ b/README.md
@@ -97,13 +97,13 @@ Reveal.js doesn't _rely_ on any third party scripts to work but a few optional l
```javascript
Reveal.initialize({
dependencies: [
- // Syntax highlight for <code> elements
- { src: 'lib/js/highlight.js', async: true, callback: function() { window.hljs.initHighlightingOnLoad(); } },
// Cross-browser shim that fully implements classList - https://github.com/eligrey/classList.js/
- { src: 'lib/js/classList.js', condition: function() { return !document.body.classList; } }
+ { src: 'lib/js/classList.js', condition: function() { return !document.body.classList; } },
// Interpret Markdown in <section> elements
- { src: 'lib/js/data-markdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
- { src: 'lib/js/showdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
+ { src: 'plugin/markdown/showdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
+ { src: 'plugin/markdown/markdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
+ // Syntax highlight for <code> elements
+ { src: 'plugin/highlight/highlight.js', async: true, callback: function() { hljs.initHighlightingOnLoad(); } },
// Zoom in and out with Alt+click
{ src: 'plugin/zoom-js/zoom.js', async: true, condition: function() { return !!document.body.classList; } },
// Speaker notes
diff --git a/plugin/notes-server/notes.html b/plugin/notes-server/notes.html
index d71d7f8..053cb5e 100644
--- a/plugin/notes-server/notes.html
+++ b/plugin/notes-server/notes.html
@@ -99,7 +99,7 @@
<div id="notes"></div>
<script src="/socket.io/socket.io.js"></script>
- <script src="/lib/js/showdown.js"></script>
+ <script src="/plugin/markdown/showdown.js"></script>
<script>
var socketId = '{{socketId}}';
diff --git a/plugin/notes/notes.html b/plugin/notes/notes.html
index 013a18b..c91ca7f 100644
--- a/plugin/notes/notes.html
+++ b/plugin/notes/notes.html
@@ -98,7 +98,7 @@
</div>
<div id="notes"></div>
- <script src="../../lib/js/showdown.js"></script>
+ <script src="../../plugin/markdown/showdown.js"></script>
<script>
window.addEventListener( 'load', function() {
@@ -120,6 +120,7 @@
}
// Update the note slides
+ console.log(currentSlide.contentWindow);
currentSlide.contentWindow.Reveal.slide( data.indexh, data.indexv );
nextSlide.contentWindow.Reveal.slide( data.nextindexh, data.nextindexv );