class RawCode extends HTMLElement { connectedCallback() { const inline = this.hasAttribute("inline"); const text = (this.textContent || "").trim(); const html = inline ? `${text}` : `
${text}
`; this.innerHTML = html; } } export default RawCode;