Diffstat (limited to 'filters/syntax-highlighting-shiki.sh')
| -rwxr-xr-x | filters/syntax-highlighting-shiki.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/filters/syntax-highlighting-shiki.sh b/filters/syntax-highlighting-shiki.sh index f42ccde..e08bf6a 100755 --- a/filters/syntax-highlighting-shiki.sh +++ b/filters/syntax-highlighting-shiki.sh @@ -17,7 +17,7 @@ sed 's/&/\&/g; s/</\</g; s/>/\>/g; s/"/\"/g; s/'"'"'/\'/g' cat << EOF </code></pre></div><script type="module"> -import { createHighlighter } from 'https://esm.sh/[email protected]'; +import { createHighlighter } from 'https://esm.sh/[email protected]'; const t = Object.freeze((await fetch("/icons/theme.json")).json()); const highlighter = await createHighlighter({ themes: [], langs: ["$EXTENSION"] }); await highlighter.loadTheme(t); |