GitHub Issue Add Details

A userscript that adds a button to insert a details block into comments

目前为 2021-11-30 提交的版本。查看 最新版本

作者
Mottie
评分
0 0 0
版本
1.0.10
创建于
2018-01-05
更新于
2021-11-30
大小
2.8 KB
许可证
MIT
适用于

A userscript that adds a button to insert a details block into comments

  • A button is added to the issue/pull request comment toolbar.
  • Clicking the button will add a <details> block with the selected text inside.
  • Adding an "open" attribute to the details element will start with the container expanded. A hint using "not-open" is included and is ignored unless changed to "open".
  • A blank line is included after the summary to allow markdown elements to render properly inside of the details container (ref).

Hosted with ♥ at GitHub

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址