Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
a55093c6
Commit
a55093c6
authored
Jan 24, 2020
by
Marcin Sedlak-Jakubowski
Committed by
Marcia Ramos
Jan 24, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add suggestions with code blocks in Threads docs
parent
3ea41699
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
0 deletions
+10
-0
doc/user/discussions/img/suggestion_code_block_editor_v12_8.png
...er/discussions/img/suggestion_code_block_editor_v12_8.png
+0
-0
doc/user/discussions/img/suggestion_code_block_output_v12_8.png
...er/discussions/img/suggestion_code_block_output_v12_8.png
+0
-0
doc/user/discussions/index.md
doc/user/discussions/index.md
+10
-0
No files found.
doc/user/discussions/img/suggestion_code_block_editor_v12_8.png
0 → 100644
View file @
a55093c6
9.68 KB
doc/user/discussions/img/suggestion_code_block_output_v12_8.png
0 → 100644
View file @
a55093c6
29.1 KB
doc/user/discussions/index.md
View file @
a55093c6
...
...
@@ -439,6 +439,16 @@ Suggestions covering multiple lines are limited to 100 lines _above_ and 100
lines _below_ the commented diff line, allowing up to 200 changed lines per
suggestion.
### Code block nested in Suggestions
If you need to make a suggestion that involves a
[
fenced code block
](
../markdown.md#code-spans-and-blocks
)
, wrap your suggestion in four backticks
instead of the usual three.
![
A comment editor with a suggestion with a fenced code block
](
img/suggestion_code_block_editor_v12_8.png
)
![
Ouput of a comment with a suggestion with a fenced code block
](
img/suggestion_code_block_output_v12_8.png
)
### Configure the commit message for applied Suggestions
> [Introduced](https://gitlab.com/gitlab-org/gitlab/issues/13086) in GitLab 12.7.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment