Skip to content
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

代码块语法高亮支持 shiki #1146

Open
1 of 2 tasks
xiaowhang opened this issue Oct 18, 2024 · 0 comments
Open
1 of 2 tasks

代码块语法高亮支持 shiki #1146

xiaowhang opened this issue Oct 18, 2024 · 0 comments
Labels
✨ enhancement New feature request

Comments

@xiaowhang
Copy link

xiaowhang commented Oct 18, 2024

如是功能需求,请确定符合以下情况

  • 难以通过自定义实现
  • 难以通过第三方插件实现

请描述该需求尝试解决的问题

highlight.js 和 prism.js 不能渲染部分语言,比如Vue。

请描述您认为可行的解决方案

添加 shiki 作为代码块预览的选项,参考hexo-shiki-twoslash

考虑过的替代方案

尝试过使用hexo-shiki-plugin

@xiaowhang xiaowhang added the ✨ enhancement New feature request label Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ enhancement New feature request
Projects
None yet
Development

No branches or pull requests

1 participant