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

Fix dynamic import with relative paths
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing

Bad 2020-10-31 18:24:05 +01:00

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))
}
}