Skip to content

refactor(plugin-shiki)!: remove @rspress/plugin-shiki, create "@rspress/core/shiki-transformers"#2270

Merged
SoonIter merged 1 commit intomainfrom
syt/theme
Jun 12, 2025
Merged

refactor(plugin-shiki)!: remove @rspress/plugin-shiki, create "@rspress/core/shiki-transformers"#2270
SoonIter merged 1 commit intomainfrom
syt/theme

Conversation

@SoonIter
Copy link
Copy Markdown
Member

@SoonIter SoonIter commented Jun 12, 2025

Summary

refactor: remove @rspress/plugin-shiki, create "@rspress/core/shiki-transformers"

We recommend using

import { transformerCompatibleMetaHighlight } from "@rspress/core/shiki-transformers";

instead of

import { transformerCompatibleMetaHighlight } from "@rspress/core";

for usages in both web and node. So you can also import transformers in react component when you are using <CodeBlockRuntime />

Related Issue

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

@netlify
Copy link
Copy Markdown

netlify Bot commented Jun 12, 2025

Deploy Preview for rspress ready!

Name Link
🔨 Latest commit 8293e12
🔍 Latest deploy log https://app.netlify.com/projects/rspress/deploys/684a85727f675f00087c1b9b
😎 Deploy Preview https://deploy-preview-2270--rspress.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 82 (🔴 down 14 from production)
Accessibility: 97 (no change from production)
Best Practices: 92 (🟢 up 9 from production)
SEO: 100 (no change from production)
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link
Copy Markdown

netlify Bot commented Jun 12, 2025

Deploy Preview for rspress-v2 ready!

Name Link
🔨 Latest commit 8293e12
🔍 Latest deploy log https://app.netlify.com/projects/rspress-v2/deploys/684a8572f0dc380008a9c25b
😎 Deploy Preview https://deploy-preview-2270--rspress-v2.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@SoonIter SoonIter changed the title refactor(plugin-shiki): remove @rspress/plugin-shiki, create "@rspress/core/shiki-transformers" refactor(plugin-shiki)!: remove @rspress/plugin-shiki, create "@rspress/core/shiki-transformers" Jun 12, 2025
@Timeless0911
Copy link
Copy Markdown
Contributor

Document it in breaking changes.

@SoonIter SoonIter merged commit 9269e11 into main Jun 12, 2025
12 checks passed
@SoonIter SoonIter deleted the syt/theme branch June 12, 2025 08:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants