Skip to content
Snippets Groups Projects
Commit c0ee2ec8 authored by Jonas Leder's avatar Jonas Leder
Browse files

add inline code element

parent 23664a55
No related branches found
No related tags found
1 merge request!7Add setup instructions for vaultwarden
class InlineCode extends HTMLElement {
constructor() {
super();
this.innerHTML = "<code class=\"language-text\">" + this.innerHTML + "</code>";
}
}
customElements.define("jl-code", InlineCode);
......@@ -20,3 +20,4 @@ require("./customElements/ebkBanner");
require("./customElements/sellingTable");
require("./customElements/skills");
require("./customElements/pwgen");
require("./customElements/inline-code");
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment