Rich message rendering #24

Merged
cadence merged 28 commits from rich-messages into princess 2020-11-07 10:46:48 +00:00
Showing only changes of commit 1bf1712684 - Show all commits

View file

@ -4,7 +4,7 @@ const {lazyLoad} = require("../lazy-load-module")
class HighlightedCode extends ElemJS {
constructor(code) {
super(code)
lazyLoad("/static/hljs.js").then(hljs => hljs.highlightBlock(this.element))
lazyLoad("./static/hljs.js").then(hljs => hljs.highlightBlock(this.element))
}
}