Unnamed repository; edit this file 'description' to name the repository.
1
2
3
4
5
6
7
8
9
10
11
[
 (module_definition)
 (struct_definition)
 (macro_definition)
 (function_definition)
 (compound_expression) ; begin blocks
 (let_statement)
 (if_statement)
 (for_statement)
 (while_statement)
] @fold
ipt type="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: ["scm"] }); await highlighter.loadTheme(t); const o = document.getElementById('code-block'); const i = document.getElementById('contents'); o.innerHTML = (await highlighter.codeToHtml(i.innerText, { lang: "scm", theme: 'ayu-mirage' })).replaceAll( "font-style:italic", "font-family:'Cascadia Code NF Italic', 'Cascadia Code', italic", );