-
-
Notifications
You must be signed in to change notification settings - Fork 166
GitHub issue add details
Rob Garrison edited this page Oct 24, 2022
·
13 revisions
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).
- Click this link to install from GitHub; or, install from GreasyFork or OpenUserJS.
- Fix in mutations file allows this to work in PR comments now.
- Update dependencies.
- Update selector.
- Fix selector.
- Update mutation script.
- Update mutation script.
- Code cleanup.
- Update GitHub icon.
- Update mutation script.
- Update mutation script.
- Update mutation script.
- Update mutation script.
- Update mutation script url.
- Initial commit