Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitrie Hoekstra <dimitrie@gitlab.com>2017-12-14 21:14:23 +0300
committerAchilleas Pipinellis <axil@gitlab.com>2017-12-14 21:14:23 +0300
commit7c20829c40644d01841bc086c36fd6942af59a39 (patch)
tree4bf904b2f85d127b73f08b2186f16f7f00de337b /spec/fixtures/markdown.md.erb
parent8b33670e3144164637b22919ea58a69cea5dc38a (diff)
clearer-documentation-on-inline-diffs
Diffstat (limited to 'spec/fixtures/markdown.md.erb')
-rw-r--r--spec/fixtures/markdown.md.erb17
1 files changed, 14 insertions, 3 deletions
diff --git a/spec/fixtures/markdown.md.erb b/spec/fixtures/markdown.md.erb
index 638cd8b07c8..71abb6da607 100644
--- a/spec/fixtures/markdown.md.erb
+++ b/spec/fixtures/markdown.md.erb
@@ -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