9 lines
219 B
JavaScript
9 lines
219 B
JavaScript
|
class InlineCode extends HTMLElement {
|
||
|
constructor() {
|
||
|
super();
|
||
|
this.innerHTML = "<code class=\"language-text\">" + this.innerHTML + "</code>";
|
||
|
}
|
||
|
}
|
||
|
|
||
|
customElements.define("jl-code", InlineCode);
|