From 16ebf2a783724527faac2036bc2f971df8dea0a5 Mon Sep 17 00:00:00 2001
From: Riceball LEE
Date: Wed, 11 Nov 2015 07:37:08 +0000
Subject: * [bug] the markdown plugin can not render highlight codes for
 marked.setOptions(highlight)

---
 test/test-markdown-external.js | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 test/test-markdown-external.js

(limited to 'test/test-markdown-external.js')

diff --git a/test/test-markdown-external.js b/test/test-markdown-external.js
new file mode 100644
index 0000000..a9ea034
--- /dev/null
+++ b/test/test-markdown-external.js
@@ -0,0 +1,19 @@
+
+
+Reveal.addEventListener( 'ready', function() {
+
+	QUnit.module( 'Markdown' );
+
+	test( 'Vertical separator', function() {
+		strictEqual( document.querySelectorAll( '.reveal .slides>section>section' ).length, 2, 'found two slides' );
+	});
+	test( 'language highlighter', function() {
+		strictEqual( document.querySelectorAll( '.hljs-keyword' ).length, 1, 'got rendered highlight tag.' );
+		strictEqual( document.querySelector( '.hljs-keyword' ).innerHTML, 'var', 'the same keyword: var.' );
+	});
+
+
+} );
+
+Reveal.initialize();
+
-- 
cgit v1.2.3


From e4634f20e8be5075882b3cc49a169e0fa1ae8f6a Mon Sep 17 00:00:00 2001
From: Hakim El Hattab
Date: Wed, 22 Jun 2016 09:24:09 +0200
Subject: revise simple.md so that slide 1.1 and 1.2 correctly break into
 separate slides

---
 test/simple.md                 | 2 ++
 test/test-markdown-external.js | 7 ++++++-
 2 files changed, 8 insertions(+), 1 deletion(-)

(limited to 'test/test-markdown-external.js')

diff --git a/test/simple.md b/test/simple.md
index cd57d70..c72a440 100644
--- a/test/simple.md
+++ b/test/simple.md
@@ -4,7 +4,9 @@
 var a = 1;
 ```
 
+
 ## Slide 1.2
 
 
+
 ## Slide 2
diff --git a/test/test-markdown-external.js b/test/test-markdown-external.js
index a9ea034..cab85c6 100644
--- a/test/test-markdown-external.js
+++ b/test/test-markdown-external.js
@@ -7,7 +7,12 @@ Reveal.addEventListener( 'ready', function() {
 	test( 'Vertical separator', function() {
 		strictEqual( document.querySelectorAll( '.reveal .slides>section>section' ).length, 2, 'found two slides' );
 	});
-	test( 'language highlighter', function() {
+
+	test( 'Horizontal separator', function() {
+		strictEqual( document.querySelectorAll( '.reveal .slides>section' ).length, 2, 'found two slides' );
+	});
+
+	test( 'Language highlighter', function() {
 		strictEqual( document.querySelectorAll( '.hljs-keyword' ).length, 1, 'got rendered highlight tag.' );
 		strictEqual( document.querySelector( '.hljs-keyword' ).innerHTML, 'var', 'the same keyword: var.' );
 	});
-- 
cgit v1.2.3