GitHub Issue Add Details

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

2018/05/10のページです。最新版はこちら

このスクリプトの質問や評価の投稿はこちら通報はこちらへお寄せください
作者
Mottie
評価
0 0 0
バージョン
1.0.2
作成日
2018/01/05
更新日
2018/05/10
大きさ
2.87KB
ライセンス
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