shiki
shiki copied to clipboard
CDN version breaks above v0.10.1
<script src="https://unpkg.com/shiki"></script>
Gives error:
shiki:1 Uncaught ReferenceError: vscode is not defined at shiki:1:31910
Fixes it:
<script src="https://unpkg.com/[email protected]"></script>
Interesting, unsure what triggers this
)}(this.shiki=this.shiki||{},vscode-oniguruma,vscode-textmate);
... well that's definitely not desirable output. Possibly a rollup update?
same here.
Uncaught ReferenceError: vscode is not defined Uncaught TypeError: shiki.getHighlighter is not a function
Using https://unpkg.com/[email protected]
for now