Markdown interpretation (#237)

This commit is contained in:
Simon Lecoq
2021-04-18 16:15:17 +02:00
committed by GitHub
parent f451085c98
commit db603605bd
14 changed files with 240 additions and 49 deletions

View File

@@ -71,11 +71,6 @@
finally {
this.pending = false
}
},
markdown(content) {
const escaped = document.createElement("textarea")
escaped.textContent = content
return marked(escaped.innerHTML)
}
},
//Computed properties