diff options
Diffstat (limited to 'doc/api/markdown.md')
-rw-r--r-- | doc/api/markdown.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/markdown.md b/doc/api/markdown.md index 157714c2791..d83b7420829 100644 --- a/doc/api/markdown.md +++ b/doc/api/markdown.md @@ -14,14 +14,14 @@ Available only in APIv4. ## Render an arbitrary Markdown document ```plaintext -POST /api/v4/markdown +POST /markdown ``` | Attribute | Type | Required | Description | | --------- | ------- | ------------- | ------------------------------------------ | | `text` | string | yes | The Markdown text to render | | `gfm` | boolean | no | Render text using GitLab Flavored Markdown. Default is `false` | -| `project` | string | no | Use `project` as a context when creating references using GitLab Flavored Markdown. [Authentication](README.md#authentication) is required if a project is not public. | +| `project` | string | no | Use `project` as a context when creating references using GitLab Flavored Markdown. [Authentication](index.md#authentication) is required if a project is not public. | ```shell curl --header Content-Type:application/json --data '{"text":"Hello world! :tada:", "gfm":true, "project":"group_example/project_example"}' "https://gitlab.example.com/api/v4/markdown" |