aboutsummaryrefslogtreecommitdiff
path: root/app.js
diff options
context:
space:
mode:
authorache <ache@ache.one>2018-01-29 13:26:34 +0100
committerache <ache@ache.one>2018-01-29 13:26:34 +0100
commit4dfcb84111393c58e3bde4e59e5f0629113d1278 (patch)
treec5409e10690204738a07076a6e581e292262ce1c /app.js
parentCSS validation (diff)
Update package use and name
Diffstat (limited to 'app.js')
-rw-r--r--app.js9
1 files changed, 5 insertions, 4 deletions
diff --git a/app.js b/app.js
index f2a5f8e..d4721eb 100644
--- a/app.js
+++ b/app.js
@@ -22,8 +22,9 @@ const math = require('remark-math');
const mermaid = require('remark-mermaid-simple');
const highlight = require('remark-highlight.js');
const sb = require('remark-special-box');
-const qcm = require('remark-qcm');
+const multiChoice = require('remark-multiple-choice');
const lineInput = require('remark-line-input');
+const select = require('remark-select');
const textInput = require('remark-text-input');
const raw = require('rehype-raw');
@@ -42,13 +43,13 @@ function to_HTML( data, fnc ) {
unified()
.use(remark)
// .use(guide)
- .use(mermaid)
.use(lineInput)
-// .use(textInput)
+ .use(textInput)
+ .use(select)
+ .use(multiChoice)
.use(math)
.use(kbd)
.use(sb)
- .use(qcm)
.use(highlight)
.use(html, {allowDangerousHTML: true})
.use(rehypeKatex)