From 26e299b3b94d86b3c4edd321d87f9e91658ffb91 Mon Sep 17 00:00:00 2001 From: hms5232 <3234311-hms5232@users.noreply.gitlab.com> Date: Sat, 10 Jul 2021 14:17:15 +0000 Subject: [PATCH] Fix Markdown code block format remove "script" so that the Markdown code block format will work. --- doc/api/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/index.md b/doc/api/index.md index 3080816e363..f1059904ac3 100644 --- a/doc/api/index.md +++ b/doc/api/index.md @@ -105,7 +105,7 @@ This request can help you investigate an unexpected response. If you want to expose the HTTP exit code, include the `--fail` option: -```shell script +```shell curl --fail "https://gitlab.example.com/api/v4/does-not-exist" curl: (22) The requested URL returned error: 404 ``` -- 2.30.9