Skip to content

Commit 55c1554

Browse files
authoredFeb 17, 2025··
feat!: remove deprecated apis for v3.0 (#900)
1 parent d52da67 commit 55c1554

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+621
-1210
lines changed
 

‎docs/.vitepress/config.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ const INTEGRATIONS: DefaultTheme.NavItemWithLink[] = [
5252
]
5353

5454
const BLOGS: DefaultTheme.NavItemWithLink[] = [
55+
{ text: 'Shiki v3.0', link: '/blog/v3' },
5556
{ text: 'Shiki v2.0', link: '/blog/v2' },
5657
{ text: 'The Evolution of Shiki v1.0', link: 'https://nuxt.com/blog/shiki-v1' },
5758
]
@@ -143,7 +144,6 @@ export default withMermaid(defineConfig({
143144
transformerRemoveNotationEscape(),
144145
transformerColorizedBrackets({ explicitTrigger: true }),
145146
],
146-
// @ts-expect-error Waits for https://github.com/vuejs/vitepress/pull/4507
147147
languages: ['js', 'jsx', 'ts', 'tsx'],
148148
config: (md) => {
149149
md.use(groupIconMdPlugin)

‎docs/blog/v2.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ There is no functional changes, but more like correcting the naming to avoid con
5959

6060
### WASM Related APIs
6161

62-
Since the introduction of the [engine system](/guide/regex-engines) in v0.16, WebAssembly-related dependencies are no longer a hard requirement. To facilitate tree-shaking and decouple the engines from the core, two packages have been extracted: `@shikijs/engine-oniguruma` and `@shikijs/engine-javascript`. These are also re-exported from the main package as `shiki/engine/oniguruma` and `shiki/engine/javascript`, respectively.
62+
Since the introduction of the [engine system](/guide/regex-engines) in v1.16, WebAssembly-related dependencies are no longer a hard requirement. To facilitate tree-shaking and decouple the engines from the core, two packages have been extracted: `@shikijs/engine-oniguruma` and `@shikijs/engine-javascript`. These are also re-exported from the main package as `shiki/engine/oniguruma` and `shiki/engine/javascript`, respectively.
6363

6464
You might need to change your import path:
6565

0 commit comments

Comments
 (0)
Please sign in to comment.