Unnamed repository; edit this file 'description' to name the repository.
1
2
3
4
5
[
  (module)
  (namespace)
  (section)
] @local.scope
"module"> import { createHighlighter } from 'https://esm.sh/[email protected]'; const t = Object.freeze((await fetch("/icons/theme.json")).json()); const highlighter = await createHighlighter({ themes: [], langs: ["rs"] }); await highlighter.loadTheme(t); const o = document.getElementById('code-block'); const i = document.getElementById('contents'); o.innerHTML = (await highlighter.codeToHtml(i.innerText, { lang: "rs", theme: 'ayu-mirage' })).replaceAll( "font-style:italic", "font-family:'Cascadia Code NF Italic', 'Cascadia Code', italic", );