GitHub Issue Add Details

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

Από την 14/02/2022. Δείτε την τελευταία έκδοση.

Δημιουργός
Mottie
Βαθμολογίες
0 0 0
Έκδοση
1.0.11
Δημιουργήθηκε την
05/01/2018
Ενημερώθηκε την
14/02/2022
Μέγεθος
3 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

长期地址
遇到问题?请前往 GitHub 提 Issues。