From 66ed59b288ffad5a8583132749a6d50f9f02faea Mon Sep 17 00:00:00 2001 From: Dimitrie Hoekstra Date: Thu, 14 Dec 2017 14:02:35 +0000 Subject: Update markdown.md.erb --- spec/fixtures/markdown.md.erb | 19 +++++++++++++++---- 1 file 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 -- cgit v1.2.1