revise simple.md so that slide 1.1 and 1.2 correctly break into separate slides
This commit is contained in:
parent
8d7ff10ce3
commit
e4634f20e8
@ -4,7 +4,9 @@
|
|||||||
var a = 1;
|
var a = 1;
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## Slide 1.2
|
## Slide 1.2
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Slide 2
|
## Slide 2
|
||||||
|
@ -7,7 +7,12 @@ Reveal.addEventListener( 'ready', function() {
|
|||||||
test( 'Vertical separator', function() {
|
test( 'Vertical separator', function() {
|
||||||
strictEqual( document.querySelectorAll( '.reveal .slides>section>section' ).length, 2, 'found two slides' );
|
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.querySelectorAll( '.hljs-keyword' ).length, 1, 'got rendered highlight tag.' );
|
||||||
strictEqual( document.querySelector( '.hljs-keyword' ).innerHTML, 'var', 'the same keyword: var.' );
|
strictEqual( document.querySelector( '.hljs-keyword' ).innerHTML, 'var', 'the same keyword: var.' );
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user