Skip to content
GitLab
Menu
Why GitLab
Pricing
Contact Sales
Explore
Why GitLab
Pricing
Contact Sales
Explore
Sign in
Get free trial
Changes
Page history
update
authored
May 24, 2017
by
Mottie
Show whitespace changes
Inline
Side-by-side
GitLab-collapse-in-comment.md
View page @
84937156
...
@@ -6,7 +6,7 @@ A userscript that adds a header that can toggle long code and quote blocks in co
...
@@ -6,7 +6,7 @@ A userscript that adds a header that can toggle long code and quote blocks in co
*
Includes the number of lines within the block.
*
Includes the number of lines within the block.
*
Click the header to toggle the view of the content immediately below the header.
*
Click the header to toggle the view of the content immediately below the header.
*
Use
<kbd>
Shift
</kbd>
+ Click to toggle all the view of all blocks within the same issue comment.
*
Use
<kbd>
Shift
</kbd>
+ Click to toggle all the view of all blocks within the same issue comment.
*
Can be used along with the
[
[GitLab-collapse-markdown]
]
userscript.
*
Can be used along with the
[
GitLab-collapse-markdown
]
(
https://gitlab.com/Mottie/GitLab-userscripts/wikis/GitLab-collapse-markdown
)
userscript.
*
Use the userscript addon to change these settings (see screenshot below):
*
Use the userscript addon to change these settings (see screenshot below):
*
**"Set GitLab Collapse in Comment Max Lines"**
to the number of lines within a block needed to add a header (set to
`10`
by default).
*
**"Set GitLab Collapse in Comment Max Lines"**
to the number of lines within a block needed to add a header (set to
`10`
by default).
*
**"Set GitLab Collapse in Comment Initial State"**
to
`expanded`
to not have the blocks initially collapsed (
`collapsed`
by default).
*
**"Set GitLab Collapse in Comment Initial State"**
to
`expanded`
to not have the blocks initially collapsed (
`collapsed`
by default).
...
...
...
...