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

添加 options.preview.hljs.renderMenu 方法 #1553

Closed
BearD01001 opened this issue Jan 31, 2024 · 0 comments
Closed

添加 options.preview.hljs.renderMenu 方法 #1553

BearD01001 opened this issue Jan 31, 2024 · 0 comments
Assignees
Milestone

Comments

@BearD01001
Copy link
Contributor

image

你在什么场景下需要该功能?

想增加几个按钮,如导出、另存为等

描述最优的解决方案

在 Preview 的 option 中增加对应的渲染函数,如 codeBlockToolbarRender

描述候选解决方案

暂无

其他信息

暂无

@Vanessa219 Vanessa219 changed the title 请问代码块右上角的复制按钮可以自定义吗,想增加几个按钮 添加 options.preview.hljs.renderMenu 方法 Feb 4, 2024
@Vanessa219 Vanessa219 self-assigned this Feb 4, 2024
@Vanessa219 Vanessa219 added this to the 3.9 milestone Feb 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants