Rich message rendering #24
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ const {lazyLoad} = require("../lazy-load-module")
|
||||||
class HighlightedCode extends ElemJS {
|
class HighlightedCode extends ElemJS {
|
||||||
constructor(code) {
|
constructor(code) {
|
||||||
super(code)
|
super(code)
|
||||||
lazyLoad("/static/hljs.js").then(hljs => hljs.highlightBlock(this.element))
|
lazyLoad("./static/hljs.js").then(hljs => hljs.highlightBlock(this.element))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue