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

feat: support copying code from codeblocks #260

Merged
merged 2 commits into from
Mar 15, 2023

Conversation

ch1ny
Copy link
Member

@ch1ny ch1ny commented Mar 15, 2023

支持复制代码块 #225

通过主题配置文件配置 function.copyCode true | false 来开关代码块复制功能

function: # 功能开关,可选值(true,false)
  copyCode: true # 是否允许复制代码块

鼠标悬浮于代码块时右上角显示复制按钮

copyable

copied

@nexmoe
Copy link
Member

nexmoe commented Mar 15, 2023

@ch1ny
Copy link
Member Author

ch1ny commented Mar 15, 2023

@nexmoe nexmoe merged commit d1e8c27 into theme-nexmoe:master Mar 15, 2023
@ch1ny ch1ny deleted the feat/copy-codeblock branch March 15, 2023 13:27
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.

None yet

2 participants