Long code wrapping issue of importing @rspress/plugin-shiki
plugin
#1134
-
目前使用的Rspress版本1.17.1,引入@rspress/plugin-shiki进行代码块高亮后导致了两个问题,第一是代码块的换行按钮无法生效 ,第二是配置的defaultWrapCode: true进行长代码默认自动换行不生效,尝试更新了Rspress 1.22.0版本,此问题依然存在 |
Beta Was this translation helpful? Give feedback.
Answered by
Timeless0911
May 30, 2024
Replies: 1 comment 1 reply
-
Welcome make a PR to support it. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
momo91377
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@rspress/plugin-shiki
doesn't regoconizecodeWrap
related, seerspress/packages/theme-default/src/layout/DocLayout/docComponents/code/index.tsx
Lines 42 to 56 in 7dc36ed
Welcome make a PR to support it.