update packages and add valign
This commit is contained in:
@@ -5,10 +5,6 @@
|
||||
<meta charset="utf-8">
|
||||
|
||||
<title>reveal.js - Test Markdown</title>
|
||||
|
||||
<link rel="stylesheet" href="../dist/reveal.css">
|
||||
<link rel="stylesheet" href="../node_modules/qunit/qunit/qunit.css">
|
||||
<script src="../node_modules/qunit/qunit/qunit.js"></script>
|
||||
</head>
|
||||
|
||||
<body style="overflow: auto;">
|
||||
@@ -315,9 +311,12 @@
|
||||
</div>
|
||||
|
||||
<script type="module">
|
||||
import Reveal from '../dist/reveal.esm.js'
|
||||
import Markdown from '../plugin/markdown/markdown.esm.js'
|
||||
import Highlight from '../plugin/highlight/highlight.esm.js'
|
||||
import 'reveal.css';
|
||||
import 'qunit/qunit/qunit.css';
|
||||
import QUnit from 'qunit';
|
||||
import Reveal from 'reveal.js';
|
||||
import Markdown from 'reveal.js/plugin/markdown'
|
||||
import Highlight from 'reveal.js/plugin/highlight'
|
||||
|
||||
QUnit.config.testTimeout = 30000;
|
||||
|
||||
@@ -402,7 +401,7 @@
|
||||
QUnit.module( 'Options' );
|
||||
|
||||
QUnit.test( 'Options are set', function( assert ) {
|
||||
assert.strictEqual( deck4.getPlugin( 'markdown' ).marked.defaults.smartypants, true );
|
||||
assert.strictEqual( deck4.getPlugin( 'markdown' ).markdownOptions.smartypants, true );
|
||||
});
|
||||
|
||||
QUnit.test( 'Smart quotes are activated', function( assert ) {
|
||||
|
||||
Reference in New Issue
Block a user