Skip to content

chore(plugin-shiki): add all builtin-langs in shiki#2148

Merged
SoonIter merged 1 commit intomainfrom
syt/shiki-langs
May 12, 2025
Merged

chore(plugin-shiki): add all builtin-langs in shiki#2148
SoonIter merged 1 commit intomainfrom
syt/shiki-langs

Conversation

@SoonIter
Copy link
Copy Markdown
Member

Summary

https://github.com/SoonIter/shiki/blob/f649d11c14aa31e4487a87e2cb0b547ce4f00d04/packages/rehype/src/index.ts#L30

drop the default value of langs in plugin-shiki, so langs option can be needless

Related Issue

Checklist

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

@netlify
Copy link
Copy Markdown

netlify bot commented May 12, 2025

Deploy Preview for rspress ready!

Name Link
🔨 Latest commit a9879e6
🔍 Latest deploy log https://app.netlify.com/sites/rspress/deploys/6821de2cf38098000802f858
😎 Deploy Preview https://deploy-preview-2148--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 (no change 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 site configuration.

@netlify
Copy link
Copy Markdown

netlify bot commented May 12, 2025

Deploy Preview for rspress-v2 ready!

Name Link
🔨 Latest commit a9879e6
🔍 Latest deploy log https://app.netlify.com/sites/rspress-v2/deploys/6821de2ca001130008c35929
😎 Deploy Preview https://deploy-preview-2148--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 site configuration.

@SoonIter SoonIter enabled auto-merge (squash) May 12, 2025 12:00
@JounQin
Copy link
Copy Markdown
Collaborator

JounQin commented May 12, 2025

No any downside effects?

@SoonIter SoonIter merged commit 12b40f7 into main May 12, 2025
12 of 13 checks passed
@SoonIter SoonIter deleted the syt/shiki-langs branch May 12, 2025 12:10
@SoonIter
Copy link
Copy Markdown
Member Author

No any downside effects?

Rspress does highlight during compile time, so users do not need to register the language.

SoonIter added a commit that referenced this pull request May 13, 2025
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.

3 participants