marp: use sane defaults
This commit is contained in:
parent
f2c2b3375d
commit
e09e70a0c6
1 changed files with 8 additions and 0 deletions
|
@ -3,6 +3,14 @@
|
||||||
const { Marp } = require('@marp-team/marp-core')
|
const { Marp } = require('@marp-team/marp-core')
|
||||||
|
|
||||||
module.exports = opts => {
|
module.exports = opts => {
|
||||||
|
|
||||||
|
opts.markdown = { ...opts.markdown }
|
||||||
|
opts.markdown.breaks = false
|
||||||
|
opts.markdown.html = true
|
||||||
|
opts.html = true
|
||||||
|
|
||||||
|
// console.log(opts)
|
||||||
|
|
||||||
const marp = new Marp(opts)
|
const marp = new Marp(opts)
|
||||||
|
|
||||||
// Disable parsing fragmented list
|
// Disable parsing fragmented list
|
||||||
|
|
Loading…
Reference in a new issue