We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
部分内容的代码展示过于修长,不利于读者观看,是否可能添加代码的折叠功能,类似编辑器的折叠,可以更快让读者看到代码的整体结构
No response
The text was updated successfully, but these errors were encountered:
引入 editor 会增大不少尺寸,暂时不会考虑默认集成该能力
如果有需求可以考虑封装一个 dumi 插件,来替换默认的 SourceCode 组件引入合适的 editor,这样其他有类似需求的用户也能用上,dumi 文档里加个『插件市场』之类的页面
SourceCode
Sorry, something went wrong.
简单写了一个可以参考一下 https://wxh16144.github.io/dumi-plugin-code-editor/
No branches or pull requests
What problem does this feature solve?
部分内容的代码展示过于修长,不利于读者观看,是否可能添加代码的折叠功能,类似编辑器的折叠,可以更快让读者看到代码的整体结构
Possible Solution (optional)
No response
The text was updated successfully, but these errors were encountered: