From a5cec9e861a0a4c967d9f0638601de8c7c1beb3b Mon Sep 17 00:00:00 2001 From: Evan Read Date: Tue, 9 Apr 2019 10:47:10 +0000 Subject: [PATCH] Fix code block not rendering --- doc/api/commits.md | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/doc/api/commits.md b/doc/api/commits.md index e205307eeca..92f53c7b5e6 100644 --- a/doc/api/commits.md +++ b/doc/api/commits.md @@ -130,6 +130,7 @@ curl --request POST --header "PRIVATE-TOKEN: " --header "Cont ``` Example response: + ```json { "id": "ed899a2f4b50b4370feeea94676502b42383c746", @@ -162,21 +163,21 @@ curl --request POST \ --form "branch=master" \ --form "commit_message=some commit message" \ --form "start_branch=master" \ - --form "actions[][action]=create" \ - --form "actions[][file_path]=foo/bar" \ - --form "actions[][content]=" \ "https://gitlab.example.com/api/v4/projects/1/repository/commits" ```