-
-
Notifications
You must be signed in to change notification settings - Fork 374
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add documentation / optimize WASM loading #384
Conversation
✅ Deploy Preview for shiki-matsu ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
OK, I've given all the docs an edit. I feel pretty good on my editing skills after the TS handbook, so I'm going to politely assume you will largely agree with my changes. I'm open to debates on my choices, but they'll be post-merge. The one thing I did fully drop was references to plugins, I'll get to that PR later but I don't want that blocking this PR - given how much good stuff is in it. Your highlighter changes look backwards compatible to me, so this is good to go when green. |
I'm totally fine with doc edits - I'm very much used to that (as I worked a lot with copy editors for my texts). ;-) FWIW, I upped a new PR with some minor edits (changed a sample, and removed a plugins reference). |
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [shiki](https://togithub.com/octref/shiki/tree/main/packages/shiki) ([source](https://togithub.com/octref/shiki)) | [`^0.11.1` -> `^0.14.4`](https://renovatebot.com/diffs/npm/shiki/0.11.1/0.14.4) | [![age](https://developer.mend.io/api/mc/badges/age/npm/shiki/0.14.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/shiki/0.14.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/shiki/0.11.1/0.14.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/shiki/0.11.1/0.14.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>octref/shiki (shiki)</summary> ### [`v0.14.4`](https://togithub.com/octref/shiki/blob/HEAD/CHANGELOG.md#0144--2023-08-31) [Compare Source](https://togithub.com/octref/shiki/compare/v0.14.3...v0.14.4) ##### 🚀 Features & Fixes - feat: add ziglang - fix: inconsistent git core.ignorecase causes marko.sample added/removed - feat: add mojo lang - feat: add `mdc` grammar ##### 🙌 Contributions - feat: add additional sample code | [#​511](https://togithub.com/shikijs/shiki/pull/511) | [@​KevinBatdorf](https://togithub.com/KevinBatdorf) - fix: Compiler errors in Node | [#​504](https://togithub.com/shikijs/shiki/pull/504) | [@​Gerrit0](https://togithub.com/Gerrit0) - feat: add splunk grammar | [#​505](https://togithub.com/shikijs/shiki/pull/505) | [@​KevinBatdorf](https://togithub.com/KevinBatdorf) - Add bun support | [#​493](https://togithub.com/shikijs/shiki/pull/493) | [@​aabccd021](https://togithub.com/aabccd021) - feat: add shellsession grammar | [#​483](https://togithub.com/shikijs/shiki/pull/483) | [@​mashehu](https://togithub.com/mashehu) ### [`v0.14.3`](https://togithub.com/octref/shiki/blob/HEAD/CHANGELOG.md#0143--2023-06-25) [Compare Source](https://togithub.com/octref/shiki/compare/v0.14.2...v0.14.3) ##### 🚀 Features & Fixes - fix: exclude dark/light modern themes for now - fix: fix unzipping issue with unzipper. fix [#​478](https://togithub.com/octref/shiki/issues/478) ##### 🙌 Contributions - feat: add narrat grammar | [#​489](https://togithub.com/shikijs/shiki/pull/489) | [@​liana-p](https://togithub.com/liana-p) - feat: add glimmer js/ts language | [#​486](https://togithub.com/shikijs/shiki/pull/486) | [@​IgnaceMaes](https://togithub.com/IgnaceMaes) - feat: add `displayName` to `BUNDLED_LANGUAGES` | [#​470](https://togithub.com/shikijs/shiki/pull/470) | [@​lawvs](https://togithub.com/lawvs) - Specify langs in browser based example | [#​477](https://togithub.com/shikijs/shiki/pull/477) | [@​wesbos](https://togithub.com/wesbos) - feat: add hjson | [#​471](https://togithub.com/shikijs/shiki/pull/471) | [@​AkaraChen](https://togithub.com/AkaraChen) - feat: add nextflow grammar | [#​472](https://togithub.com/shikijs/shiki/pull/472) | [@​mashehu](https://togithub.com/mashehu) - feat: add cypher grammar | [#​465](https://togithub.com/shikijs/shiki/pull/465) | [@​KevinBatdorf](https://togithub.com/KevinBatdorf) - feat: add vyper grammar | [#​466](https://togithub.com/shikijs/shiki/pull/466) | [@​KevinBatdorf](https://togithub.com/KevinBatdorf) - feat: add beancount grammar | [#​468](https://togithub.com/shikijs/shiki/pull/468) | [@​KevinBatdorf](https://togithub.com/KevinBatdorf) ### [`v0.14.2`](https://togithub.com/octref/shiki/blob/HEAD/CHANGELOG.md#0142--2023-04-28) [Compare Source](https://togithub.com/octref/shiki/compare/v0.14.1...v0.14.2) ##### 🚀 Features & Fixes - fix: improve changelog generation - fix: remove dlx to avoid playwright version mismatch - feat: generate changelog. fix [#​223](https://togithub.com/octref/shiki/issues/223) ##### 🙌 Contributions - feat: add kusto grammar ([#​431](https://togithub.com/octref/shiki/issues/431)) | [@​KevinBatdorf](https://togithub.com/KevinBatdorf) - Add support for the css-variables theme to ansi rendering | [#​435](https://togithub.com/shikijs/shiki/pull/435) | [@​blake-mealey](https://togithub.com/blake-mealey) - feat: add wolfram grammar | [#​464](https://togithub.com/shikijs/shiki/pull/464) | [@​KevinBatdorf](https://togithub.com/KevinBatdorf) - feat: add c++ and golang support | [#​459](https://togithub.com/shikijs/shiki/pull/459) | [@​xinconan](https://togithub.com/xinconan) - fix: avoid poisoning global scope | [#​457](https://togithub.com/shikijs/shiki/pull/457) | [@​Ayc0](https://togithub.com/Ayc0) - fix(type): `theme` field autocompletion | [#​449](https://togithub.com/shikijs/shiki/pull/449) | [@​vaakian](https://togithub.com/vaakian) - feat: add reg grammar | [#​455](https://togithub.com/shikijs/shiki/pull/455) | [@​KevinBatdorf](https://togithub.com/KevinBatdorf) - Update Kotlin grammar and add a sample | [#​445](https://togithub.com/shikijs/shiki/pull/445) | [@​alllex](https://togithub.com/alllex) - fix: marko, mdx, vue | [#​452](https://togithub.com/shikijs/shiki/pull/452) | [@​LeoDog896](https://togithub.com/LeoDog896) - feat(gd\*): add gdscript family | [#​451](https://togithub.com/shikijs/shiki/pull/451) | [@​LeoDog896](https://togithub.com/LeoDog896) - fix: add `protobuf` language id alias | [#​446](https://togithub.com/shikijs/shiki/pull/446) | [@​dimitropoulos](https://togithub.com/dimitropoulos) - feat(lang): add alias dockerfile -> docker | [#​444](https://togithub.com/shikijs/shiki/pull/444) | [@​ezracelli](https://togithub.com/ezracelli) - fix: faster parsing time for assets | [#​443](https://togithub.com/shikijs/shiki/pull/443) | [@​banga](https://togithub.com/banga) - docs: update the src of VS Code Oniguruma repo | [#​440](https://togithub.com/shikijs/shiki/pull/440) | [@​donaldxdonald](https://togithub.com/donaldxdonald) - docs: fix grammar of "grammar's" | [#​442](https://togithub.com/shikijs/shiki/pull/442) | [@​comex](https://togithub.com/comex) *** ##### 0.14.1 | 2023-02-09 - 🙌 Scrollable <pre> elements should be focusable. [#​428](https://togithub.com/shikijs/shiki/issues/428). Thanks to contribution from [@​kevinleedrum](https://togithub.com/kevinleedrum). ##### 0.14.0 | 2023-01-29 - 🙌 ANSI support. [#​386](https://togithub.com/shikijs/shiki/issues/386). Thanks to contribution from [@​blake-mealey](https://togithub.com/blake-mealey). ##### 0.13.0 | 2023-01-27 - Improve grammar/theme fetching from marketplace. - 🙌 Support CSON grammar sources. [#​413](https://togithub.com/shikijs/shiki/issues/413). Thanks to contribution from [@​muenzpraeger](https://togithub.com/muenzpraeger) - Add a [Next.js 13 example](https://togithub.com/shikijs/next-shiki). - Add a `bgFillOpacity` option for SVG renderer. [#​276](https://togithub.com/shikijs/shiki/issues/276). *Languages* - Added `console` as an alias for `shell`. [#​389](https://togithub.com/shikijs/shiki/issues/389). - 🙌 Added `jison` and `wgsl` languages. [#​413](https://togithub.com/shikijs/shiki/issues/413). Thanks to contribution from [@​muenzpraeger](https://togithub.com/muenzpraeger) *Themes* - Renamed `material-<themeName>` to `material-theme-<themeName>`. For example, `material-ocean` to `material-theme-ocean`. `material-default` is renamed to `material-theme`. *** ##### 0.10.1 - 🙌: feat: add ZenScript support [#​300](https://togithub.com/shikijs/shiki/pull/300) | **[@​jaredlll08](https://togithub.com/jaredlll08)** - 🙌: feat: add marko language [#​299](https://togithub.com/shikijs/shiki/pull/299) | **[@​manan-gup](https://togithub.com/manan-gup)** - 🙌: fix: split plaintext into lines [#​298](https://togithub.com/shikijs/shiki/pull/298) | **[@​silvenon](https://togithub.com/silvenon)** - 🙌: fix(docs): fixed custom language instructions [#​294](https://togithub.com/shikijs/shiki/pull/294) | **[@​JuanM04](https://togithub.com/JuanM04)** - 🙌: fix: updated astro grammar source [#​293](https://togithub.com/shikijs/shiki/pull/293) | **[@​JuanM04](https://togithub.com/JuanM04)** - 🙌: feat: add rel lang [#​287](https://togithub.com/shikijs/shiki/pull/287) | **[@​robbear](https://togithub.com/robbear)** - 🙌: feat: add rose pine themes [#​282](https://togithub.com/shikijs/shiki/pull/281) | **[@​EmeraldSnorlax](https://togithub.com/EmeraldSnorlax)** - 🙌: feat: add stata lang [#​281](https://togithub.com/shikijs/shiki/pull/281) | **[@​kylebutts](kylebutts)** **Full Changelog**: [v0.10.0...v0.10.1](https://togithub.com/shikijs/shiki/compare/v0.10.0...v0.10.1) *** ##### 0.2.7 | 2020-11-13 - Fix color fallback issues. [#​100](https://togithub.com/shikijs/shiki/issues/100). - 🙌 Add Applescript grammar. [#​99](https://togithub.com/shikijs/shiki/issues/99). Thanks to contribution from [Arturo Galán](https://togithub.com/arturogalan). ##### 0.2.6 | 2020-09-28 - Upgrade to onigasm 2.2.5. - Add Erlang grammar. - 🙌 Add Elixir grammar. [#​95](https://togithub.com/shikijs/shiki/issues/95). Thanks to contribution from [Sebastien Baudray](https://togithub.com/https://github.com/sbaudray). - 🙌 Fix wrong escape sequence in vuepress plugin. [#​93](https://togithub.com/shikijs/shiki/issues/93). Thanks to contribution from [Yu Zhang](https://togithub.com/yzhang-gh). ##### 0.2.5 | 2020-09-17 - Reduce dependency size (shiki-themes is 47M). [#​94](https://togithub.com/shikijs/shiki/issues/94). ##### 0.2.4 | 2020-09-13 - Fix `RangeError: Invalid array length` in `vuepress-plugin-shiki`. - 🙌 Wrap line in `<span class='line'></span>`. [#​76](https://togithub.com/shikijs/shiki/issues/76). Thanks to contribution from [Christoph Werner](https://togithub.com/codepunkt). ##### 0.2.3 | 2020-09-08 - Add `文言` language. [#​88](https://togithub.com/shikijs/shiki/issues/88). - Add `slack-theme-dark-mode` and `slack-theme-ochin` themes. Thanks to contribution from [Christoph Werner](https://togithub.com/codepunkt). [#​78](https://togithub.com/shikijs/shiki/pull/78). ##### 0.2.2 | 2020-08-26 - Fix dark-plus syntax highlighting for uncolored white text. ##### 0.2.1 | 2020-08-24 - Allow custom languages for vuepress. [#​80](https://togithub.com/shikijs/shiki/issues/80). - Fix `php` syntax highlighting. [#​21](https://togithub.com/shikijs/shiki/issues/21). - Add `jinja-html` language, which embeds `jinja` language. [#​24](https://togithub.com/shikijs/shiki/issues/24). - Remove `vue-html` language. Either use `vue` or `html` language. ##### 0.2.0 | 2020-08-24 - Normalize all theme names to kebab-case. - Add GitHub light/dark themes. - Remove less popular themes. - Add `hlsl`, `asm` (x86 Assembly), `m` (Matlab), `sas`, `d`, `dart`, `plsql`, `logo`, , `pas` (Object Pascal/Delphi), `cobol`, `kt` (Kotlin), `scala`, `abap`, `julia`, `scheme`, `prolog`, `ada`, `lisp`, `apex`, `fortran`, `haskell`, `hcl`, `hack`, `awk`, `as` (ActionScript), `tcl`, `ocaml`, `viml`, `puppet`, `jsonnet`, `smalltalk`, `cr` (Crystal), `wat` (WASM), `nix`, `elm`, `purescript` and `svelte` languages. - Add `pug` language and make `jade` an alias of it. - Use GitHub workflow to update grammars periodically. [#​72](https://togithub.com/shikijs/shiki/issues/72). - Use GitHub workflow to update themes periodically. [#​71](https://togithub.com/shikijs/shiki/issues/71). - Use theme foreground color when color of token is `undefined`. [#​27](https://togithub.com/shikijs/shiki/issues/27). - SVG Renderer. [#​2](https://togithub.com/shikijs/shiki/issues/2). - Fix HTML escaping. [#​26](https://togithub.com/octref/shiki/issues/26) and [#​28](https://togithub.com/octref/shiki/pull/28). Thanks to contribution from [@​jackens](https://togithub.com/jackens). - 🙌 Add an option to skip generating the explanation text. [#​52](https://togithub.com/shikijs/shiki/pull/52). Thanks to contribution from [Gerrit Birkeland](https://togithub.com/Gerrit0). - 🙌 Improve performance by avoiding some unnecessary string copies. [#​51](https://togithub.com/shikijs/shiki/pull/51). Thanks to contribution from [Gerrit Birkeland](https://togithub.com/Gerrit0). - 🙌 Allow loading custom `tmLanguage`. [#​10](https://togithub.com/octref/shiki/issues/10) and [#​49](https://togithub.com/octref/shiki/pull/49). Thanks to contribution from [Orta Therox](https://togithub.com/orta) and [@​pngwn](https://togithub.com/pngwn). - 🙌 Update Java grammar. [#​36](https://togithub.com/octref/shiki/issues/36) and [#​37](https://togithub.com/octref/shiki/issues/37). Thanks to contribution from [@​0xflotus](https://togithub.com/0xflotus). ##### 0.1.7 | 2020-04-28 - Update to latest Dark+/Light+ theme from VS Code. ##### 0.1.6 | 2019-09-19 - Add `toml` language from https://github.com/bungcip/better-toml. [#​20](https://togithub.com/octref/shiki/issues/20). ##### 0.1.5 | 2019-09-09 - Begin to keep a changelog. [#​7](https://togithub.com/octref/shiki/issues/7). - Accept `plaintext`, `text` and `txt` as `lang`. Will return `code` as it is. [#​16](https://togithub.com/octref/shiki/issues/16). - Add `jsonc` language. [#​18](https://togithub.com/octref/shiki/issues/18). - Add `csharp` language. [#​14](https://togithub.com/octref/shiki/issues/14). - Add `md` as an alias for `markdown`. - Add `zsh` as an alias for `bash`. - Add `yml` as an alias for `yaml`. - 🙌 Use json5 for parsing theme as JSONC. [#​11](https://togithub.com/octref/shiki/issues/11). Thanks to contribution from [Wes Bos](https://togithub.com/wesbos). ### [`v0.14.1`](https://togithub.com/octref/shiki/blob/HEAD/CHANGELOG.md#0141--2023-02-09) [Compare Source](https://togithub.com/octref/shiki/compare/v0.14.0...v0.14.1) - 🙌 Scrollable <pre> elements should be focusable. [#​428](https://togithub.com/shikijs/shiki/issues/428). Thanks to contribution from [@​kevinleedrum](https://togithub.com/kevinleedrum). ### [`v0.14.0`](https://togithub.com/octref/shiki/blob/HEAD/CHANGELOG.md#0140--2023-01-29) [Compare Source](https://togithub.com/octref/shiki/compare/v0.13.0...v0.14.0) - 🙌 ANSI support. [#​386](https://togithub.com/shikijs/shiki/issues/386). Thanks to contribution from [@​blake-mealey](https://togithub.com/blake-mealey). ### [`v0.13.0`](https://togithub.com/octref/shiki/blob/HEAD/CHANGELOG.md#0130--2023-01-27) [Compare Source](https://togithub.com/octref/shiki/compare/3009d740b25ee2d74ca4ac6ac0e02b06bf567019...v0.13.0) - Improve grammar/theme fetching from marketplace. - 🙌 Support CSON grammar sources. [#​413](https://togithub.com/shikijs/shiki/issues/413). Thanks to contribution from [@​muenzpraeger](https://togithub.com/muenzpraeger) - Add a [Next.js 13 example](https://togithub.com/shikijs/next-shiki). - Add a `bgFillOpacity` option for SVG renderer. [#​276](https://togithub.com/shikijs/shiki/issues/276). *Languages* - Added `console` as an alias for `shell`. [#​389](https://togithub.com/shikijs/shiki/issues/389). - 🙌 Added `jison` and `wgsl` languages. [#​413](https://togithub.com/shikijs/shiki/issues/413). Thanks to contribution from [@​muenzpraeger](https://togithub.com/muenzpraeger) *Themes* - Renamed `material-<themeName>` to `material-theme-<themeName>`. For example, `material-ocean` to `material-theme-ocean`. `material-default` is renamed to `material-theme`. *** ### [`v0.12.1`](https://togithub.com/octref/shiki/compare/v0.12.0...3009d740b25ee2d74ca4ac6ac0e02b06bf567019) [Compare Source](https://togithub.com/octref/shiki/compare/v0.12.0...3009d740b25ee2d74ca4ac6ac0e02b06bf567019) ### [`v0.12.0`](https://togithub.com/shikijs/shiki/releases/tag/v0.12.0) [Compare Source](https://togithub.com/octref/shiki/compare/0b4eec41aab694bab82327aa9740af90054699fb...v0.12.0) <!-- Release notes generated using configuration in .github/release.yml at v0.12.0 --> #### Key Changes Updates to the core libraries used in Shiki, and a *huge* set of docs improvements. - feat: dependency updates incl. textmate by [@​muenzpraeger](https://togithub.com/muenzpraeger) in [https://github.com/shikijs/shiki/pull/377](https://togithub.com/shikijs/shiki/pull/377) - feat: upgrade to vscode-textmate-v7. fix [#​343](https://togithub.com/octref/shiki/issues/343) by [@​octref](https://togithub.com/octref) in [https://github.com/shikijs/shiki/pull/361](https://togithub.com/shikijs/shiki/pull/361) - feat: resolve embedded languages automatically by [@​muenzpraeger](https://togithub.com/muenzpraeger) in [https://github.com/shikijs/shiki/pull/379](https://togithub.com/shikijs/shiki/pull/379) #### What's Changed - Fix: `fetchTheme` theme 'include' directory joining for absolute paths by [@​Oblongmana](https://togithub.com/Oblongmana) in [https://github.com/shikijs/shiki/pull/173](https://togithub.com/shikijs/shiki/pull/173) - feat: update HCL grammar source by [@​dbanck](https://togithub.com/dbanck) in [https://github.com/shikijs/shiki/pull/340](https://togithub.com/shikijs/shiki/pull/340) - Add several alias of languages by [@​dannypsnl](https://togithub.com/dannypsnl) in [https://github.com/shikijs/shiki/pull/344](https://togithub.com/shikijs/shiki/pull/344) - feat: add proto grammar by [@​ruanspies](https://togithub.com/ruanspies) in [https://github.com/shikijs/shiki/pull/352](https://togithub.com/shikijs/shiki/pull/352) - fix: add 'cs' alias for csharp and 'fs' alias for fsharp by [@​mysticmind](https://togithub.com/mysticmind) in [https://github.com/shikijs/shiki/pull/353](https://togithub.com/shikijs/shiki/pull/353) - add imba as a shiki syntax by [@​haikyuu](https://togithub.com/haikyuu) in [https://github.com/shikijs/shiki/pull/363](https://togithub.com/shikijs/shiki/pull/363) - feat(lang): Add V support + robot: update grammars by [@​wennerryle](https://togithub.com/wennerryle) in [https://github.com/shikijs/shiki/pull/374](https://togithub.com/shikijs/shiki/pull/374) - feat: update/add language definitions by [@​muenzpraeger](https://togithub.com/muenzpraeger) in [https://github.com/shikijs/shiki/pull/378](https://togithub.com/shikijs/shiki/pull/378) - feat: add documentation / optimize WASM loading by [@​muenzpraeger](https://togithub.com/muenzpraeger) in [https://github.com/shikijs/shiki/pull/384](https://togithub.com/shikijs/shiki/pull/384) #### New Contributors - [@​Oblongmana](https://togithub.com/Oblongmana) made their first contribution in [https://github.com/shikijs/shiki/pull/173](https://togithub.com/shikijs/shiki/pull/173) - [@​dbanck](https://togithub.com/dbanck) made their first contribution in [https://github.com/shikijs/shiki/pull/340](https://togithub.com/shikijs/shiki/pull/340) - [@​dannypsnl](https://togithub.com/dannypsnl) made their first contribution in [https://github.com/shikijs/shiki/pull/344](https://togithub.com/shikijs/shiki/pull/344) - [@​ruanspies](https://togithub.com/ruanspies) made their first contribution in [https://github.com/shikijs/shiki/pull/352](https://togithub.com/shikijs/shiki/pull/352) - [@​haikyuu](https://togithub.com/haikyuu) made their first contribution in [https://github.com/shikijs/shiki/pull/363](https://togithub.com/shikijs/shiki/pull/363) - [@​wennerryle](https://togithub.com/wennerryle) made their first contribution in [https://github.com/shikijs/shiki/pull/374](https://togithub.com/shikijs/shiki/pull/374) - [@​muenzpraeger](https://togithub.com/muenzpraeger) made their first contribution in [https://github.com/shikijs/shiki/pull/377](https://togithub.com/shikijs/shiki/pull/377) **Full Changelog**: shikijs/shiki@v0.11.0...v0.12.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/levaintech/contented). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi42OC4xIiwidXBkYXRlZEluVmVyIjoiMzYuNjguMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Add a test if possible
Format all commit messages with Conventional Commits
This PR fixes How to use shiki in the browser? #382, helps Get langs path from outside unpkg cdn #365 (potentially), fixes Usage Missing instructions on setCDN #347, fixes [Shiki] no CDN provider found #216, fixes getHighlighter throwing error in react project #246, fixes dist/onig.wasm not available in 0.11.1 #346, fixes It tries to load all
*.tmLanguage.json
unexpectedly #221, fixes Unclear (possibly incorrect) instructions to register a new language #317, fixes Custom <pre> class name? #206This PR refines WASM loading, so that there is less setup needed. It also adds.... drumroll documentation. ;-)