Convert docdock theme from submodule to native files and fix Hugo compatibility
This commit is contained in:
15
themes/docdock/static/revealjs/test/test-markdown.js
Executable file
15
themes/docdock/static/revealjs/test/test-markdown.js
Executable file
@@ -0,0 +1,15 @@
|
||||
|
||||
|
||||
Reveal.addEventListener( 'ready', function() {
|
||||
|
||||
QUnit.module( 'Markdown' );
|
||||
|
||||
test( 'Vertical separator', function() {
|
||||
strictEqual( document.querySelectorAll( '.reveal .slides>section>section' ).length, 2, 'found two slides' );
|
||||
});
|
||||
|
||||
|
||||
} );
|
||||
|
||||
Reveal.initialize();
|
||||
|
||||
Reference in New Issue
Block a user