diff options
author | Marvin Borner | 2020-03-13 22:20:40 +0100 |
---|---|---|
committer | Marvin Borner | 2020-03-13 22:20:40 +0100 |
commit | a840a022669adcc88fba3339378a0328d7b3032e (patch) | |
tree | 4a88c90bd2d55674d80cf16792262c9ce8a696d8 /test/test-markdown-options.js | |
parent | 00b0ace3863952ce95df4430d203686fd27bfc20 (diff) |
Well, this is the actual first commit ig
Diffstat (limited to 'test/test-markdown-options.js')
-rw-r--r-- | test/test-markdown-options.js | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/test/test-markdown-options.js b/test/test-markdown-options.js deleted file mode 100644 index ef61659..0000000 --- a/test/test-markdown-options.js +++ /dev/null @@ -1,27 +0,0 @@ -Reveal.addEventListener( 'ready', function() { - - QUnit.module( 'Markdown' ); - - QUnit.test( 'Options are set', function( assert ) { - assert.strictEqual( marked.defaults.smartypants, true ); - }); - - QUnit.test( 'Smart quotes are activated', function( assert ) { - var text = document.querySelector( '.reveal .slides>section>p' ).textContent; - - assert.strictEqual( /['"]/.test( text ), false ); - assert.strictEqual( /[“”‘’]/.test( text ), true ); - }); - -} ); - -Reveal.initialize({ - dependencies: [ - { src: '../plugin/markdown/marked.js' }, - // Test loading JS files with query strings - { src: '../plugin/markdown/markdown.js?query=string' }, - ], - markdown: { - smartypants: true - } -}); |