当前位置:网站首页>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。
效果
复制成功后按钮会有状态变化提示。
边栏推荐
- F.金玉其外矩阵(构造)
- 7 天找个 Go 工作,Gopher 要学的条件语句,循环语句 ,第3篇
- 输入输出流总结
- Set partition minimum difference problem (01 knapsack)
- Oracle database user creation, restart, import and export
- leetcode:241. 为运算表达式设计优先级
- Why does the decimal point appear when I press the space bar in word 2003?
- 技术分享| 小程序实现音视频通话
- 技术分享| 融合调度系统中的电子围栏功能说明
- 利用决策树找出最优特征组合
猜你喜欢
1401 - Web technology 】 【 introduction to graphical Canvas
Technology sharing | Description of the electronic fence function in the integrated dispatching system
Find My Technology | Prevent your pet from getting lost, Apple Find My technology can help you
【硬件架构的艺术】学习笔记(1)亚稳态的世界
【剑指offer59】队列的最大值
Win10无法访问移动硬盘怎么解决
Leetcode: 215 disorderly to find the first big k element in the array
I/O stream summary
Zheng Qing freshmen school competition and middle-aged engineering selection competition
【HMS core】【Media】【视频编辑服务】 在线素材无法展示,一直Loading状态或是网络异常
随机推荐
Problem solving-->Online OJ (18)
word2003按空格键为什么会出现小数点
指数族分布与最大熵
如何和程序员谈恋爱
NPDP|作为产品经理,如何快速提升自身业务素养?
FRED应用:毛细管电泳系统
【Web技术】1401- 图解 Canvas 入门
leetcode:212. 单词搜索 II
Notes for xpath getting node with namespace
uni-app 从零开始-生命周期(二)
Technology sharing | Description of the electronic fence function in the integrated dispatching system
LeetCode_模拟_中等_498.对角线遍历
没有Project Facets的解决方法
CF1527D MEX Tree (mex & tree & inclusive)
什么,你告诉我?作用域也分种类?
Oracle database user creation, restart, import and export
Cisco-小型网络拓扑(DNS、DHCP、网站服务器、无线路由器)
using关键字学习
Database recovery
用了TCP协议,就一定不会丢包吗?