Commit 82d481c8 authored by Manuel Tancoigne's avatar Manuel Tancoigne

Add support for custom markdown-it configuration

parent 5db36537
......@@ -109,7 +109,7 @@ export default {
}
},
renderText () {
const md = new MarkdownIt()
const md = new MarkdownIt(this.templateMeta.mdFlavor || null)
return md.render(this.renderedMd)
},
},
......@@ -164,4 +164,8 @@ export default {
padding-top: 1rem;
padding-bottom: 1rem;
}
table {
width: 100%;
}
</style>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment