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

add inline code element

parent 23664a55
Branches
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);
......@@ -19,4 +19,5 @@ require("./customElements/footer");
require("./customElements/ebkBanner");
require("./customElements/sellingTable");
require("./customElements/skills");
require("./customElements/pwgen");
\ No newline at end of file
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