GitHub Issue Add Details

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

目前為 2021-02-21 提交的版本,檢視 最新版本

作者
Mottie
評價
0 0 0
版本
1.0.8
建立日期
2018-01-05
更新日期
2021-02-21
尺寸
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或关注我们的公众号极客氢云获取最新地址