当前位置:网站首页>Next -18- 添加代码复制按钮
Next -18- 添加代码复制按钮
2022-08-04 14:49:00 【为为为什么】
本文介绍Next 7.7.1 主题添加代码复制按钮的方法。
修改主题配置文件
配置copy_button字段:
# Add copy button on codeblock
copy_button:
enable: true
# Show text copy result.
show_result: default
# Available values: default | flat | mac
style:
设置 enable 为 true,show_result为default。
效果
复制成功后按钮会有状态变化提示。
边栏推荐
猜你喜欢
饿了么智能头盔专利获授权,进一步提升骑手安全保障
xampp安装包含的组件有(php,perl,apche,mysql)
leetcode: 253. How many meeting rooms are required at least
16. Learn MySQL Regular Expressions
MySQL优化学习笔记
属于程序猿的浪漫
Sum of four squares, laser bombs
期货开户之前要谈好最低手续费和交返
Kyushu Cloud attended the Navigator Online Forum to discuss the current status, challenges and future of 5G MEC edge computing
世间几乎所有已知蛋白质结构,都被DeepMind开源了
随机推荐
分布式链路追踪Jaeger + 微服务Pig在Rainbond上的实践分享
Makefile syntax and usage notes
输入输出流总结
leetcode:212. 单词搜索 II
CF1527D MEX Tree(mex&树&容斥)
程序猿七夕礼物-如何30分钟给女朋友快速搭建专属语聊房
[in-depth study of 4 g / 5 g / 6 g project - 50] : URLLC - 16 - the 3 GPP URLLC agreement, specification, technical principle of depth interpretation - 10 - high reliability technology - 1 - low codin
【北亚数据恢复】IBM System Storage存储lvm信息丢失数据恢复方案
How to automatically renew the token after it expires?
Makefile 语法及使用笔记
C# 谁改了我的代码
技术分享| 融合调度系统中的电子围栏功能说明
Why does the decimal point appear when I press the space bar in word 2003?
FRED应用:毛细管电泳系统
How to fall in love with a programmer
IP第十七天笔记
代码随想录笔记_动态规划_1049最后一块石头的重量II
企业级优化
Phasecraft连下两城,助力英国量子技术商业化加速!
[Beiya data recovery] IBM System Storage storage lvm information lost data recovery solution