diff options
author | Dimitrie Hoekstra <dimitrie@gitlab.com> | 2017-12-14 14:02:35 +0000 |
---|---|---|
committer | Dimitrie Hoekstra <dimitrie@gitlab.com> | 2017-12-14 14:02:35 +0000 |
commit | 66ed59b288ffad5a8583132749a6d50f9f02faea (patch) | |
tree | 17fe5ec396d13d5d686edf6dcbfa55d7b4cf2e6b | |
parent | 4dda746443eebe6f7ec8ac33d6b6d4ff5156bebb (diff) | |
download | gitlab-ce-clearer-documentation-on-inline-diffs.tar.gz |
Update markdown.md.erbclearer-documentation-on-inline-diffs
-rw-r--r-- | spec/fixtures/markdown.md.erb | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/spec/fixtures/markdown.md.erb b/spec/fixtures/markdown.md.erb index 679dd23b41a..71abb6da607 100644 --- a/spec/fixtures/markdown.md.erb +++ b/spec/fixtures/markdown.md.erb @@ -256,14 +256,25 @@ References should be parseable even inside _<%= merge_request.to_reference %>_ e With inline diffs tags you can display {+ additions +} or [- deletions -]. -The wrapping tags can be either curly braces or square brackets [+ additions +] `[+ additions +]` or {- deletions -} `{- 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 |