Merge branch 'clearer-documentation-on-inline-diffs' into 'master'
clearer-documentation-on-inline-diffs See merge request gitlab-org/gitlab-ce!15938
This commit is contained in:
commit
2c3e6f42cf
2 changed files with 25 additions and 3 deletions
|
@ -195,12 +195,23 @@ With inline diffs tags you can display {+ additions +} or [- deletions -].
|
|||
|
||||
The wrapping tags can be either curly braces or square brackets [+ additions +] or {- deletions -}.
|
||||
|
||||
Examples:
|
||||
|
||||
```
|
||||
- {+ additions +}
|
||||
- [+ additions +]
|
||||
- {- deletions -}
|
||||
- [- deletions -]
|
||||
```
|
||||
|
||||
However the wrapping tags cannot be mixed as such:
|
||||
|
||||
```
|
||||
- {+ additions +]
|
||||
- [+ additions +}
|
||||
- {- deletions -]
|
||||
- [- deletions -}
|
||||
```
|
||||
|
||||
### Emoji
|
||||
|
||||
|
|
17
spec/fixtures/markdown.md.erb
vendored
17
spec/fixtures/markdown.md.erb
vendored
|
@ -258,12 +258,23 @@ With inline diffs tags you can display {+ additions +} or [- deletions -].
|
|||
|
||||
The wrapping tags can be either curly braces or square brackets [+ additions +] or {- deletions -}.
|
||||
|
||||
However the wrapping tags can not be mixed as such -
|
||||
Examples:
|
||||
|
||||
```
|
||||
- {+ additions +}
|
||||
- [+ additions +]
|
||||
- {- deletions -}
|
||||
- [- deletions -]
|
||||
```
|
||||
|
||||
However the wrapping tags cannot be mixed as such:
|
||||
|
||||
```
|
||||
- {+ additions +]
|
||||
- [+ additions +}
|
||||
- {- delletions -]
|
||||
- [- delletions -}
|
||||
- {- deletions -]
|
||||
- [- deletions -}
|
||||
```
|
||||
|
||||
### Videos
|
||||
|
||||
|
|
Loading…
Reference in a new issue