[RFC]: Inject copy button during markdown to html conversion
未关闭
- 主要语言
- JavaScript
- 星标
- 6k
- 派生
- 1.3k
- 平均合并
- 1 天 3 小时
- 30 天内合并 PR
- 611
描述
### Description
Add copy button in code blocks in docs.
https://github.com/stdlib-js/www/issues/75
### Related Issues
No
### Questions
No.
### Other
No.
### Checklist
- [x] I have read and understood the [Code of Conduct](https://github.com/stdlib-js/stdlib/blob/develop/CODE_OF_CONDUCT.md).
- [x] Searched for existing issues and pull requests.
- [x] The issue name begins with `RFC:`.
贡献指南
调研方向
首先查看 issue 描述以及相关的 stdlib-js/www issue 75,以确定文档的 markdown-to-HTML 转换在哪里进行。在定义复制按钮的行为之前,先确定相关的转换入口点和现有的代码块处理方式。完成的标准是:文档中的代码块能够通过正常工作的复制按钮进行渲染,并且转换行为由适当的测试覆盖。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- javascript
- 领域
- documentation
- Issue 类型
- 功能
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 30/100