Markdown now works in property descriptions for viewers
This commit is contained in:
@@ -13,6 +13,8 @@
|
||||
computed: {
|
||||
compiledMarkdown() {
|
||||
if (!this.markdown) return;
|
||||
//TODO sanitizing by marked is deprecated
|
||||
//TODO Markdown <hr> need to be styled to match their vue components
|
||||
return marked(this.markdown, { sanitize: true });
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user