summaryrefslogtreecommitdiff
path: root/spec/fixtures/markdown.md.erb
diff options
context:
space:
mode:
authorDouwe Maan <douwe@selenight.nl>2016-05-20 16:23:04 -0500
committerDouwe Maan <douwe@selenight.nl>2016-05-20 16:23:04 -0500
commitfc1910ddc5db25e608921f69c3dc28d830e6ea03 (patch)
tree1f82bd43de18fdb6ec1d01801d7d75c08bdf7928 /spec/fixtures/markdown.md.erb
parent63f53730c0483b4c9e6fa9d90413d40a8c74a243 (diff)
parent5341b16fc92425d557a1c62d0329b276170eba73 (diff)
downloadgitlab-ce-fc1910ddc5db25e608921f69c3dc28d830e6ea03.tar.gz
Merge branch 'adambutler/gitlab-ce-feature/support-diff-of-issue-title-rename'
# Conflicts: # app/services/system_note_service.rb
Diffstat (limited to 'spec/fixtures/markdown.md.erb')
-rw-r--r--spec/fixtures/markdown.md.erb13
1 files changed, 13 insertions, 0 deletions
diff --git a/spec/fixtures/markdown.md.erb b/spec/fixtures/markdown.md.erb
index 3e777a5e92b..34ce7c4f033 100644
--- a/spec/fixtures/markdown.md.erb
+++ b/spec/fixtures/markdown.md.erb
@@ -243,3 +243,16 @@ References should be parseable even inside _<%= merge_request.to_reference %>_ e
- [[link-text|http://example.com/pdfs/gollum.pdf]]
- [[images/example.jpg]]
- [[http://example.com/images/example.jpg]]
+
+### Inline Diffs
+
+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 -
+
+- {+ additions +]
+- [+ additions +}
+- {- delletions -]
+- [- delletions -}