Ossir
Ossir

Reputation: 3145

How to correctly escape []: in GitLab Markdown

It tried different thing but markdown of GitLab does not allow me to write it correctly. My GitLab version: 6.8.1

What I want:

[Code]: [Commit message]

What it actually shows:

[Code]: /user/repo/blob/master/[Commit message]

What I tried:

    [Code\]: [Commit message]

<code>\[Code\]: \[Commit message\]</code>

`[Code\]: [Commit message]`

That does not work as expected.

UPDATE:

It does not work too

```
[Code\]: [Commit message]
```

Upvotes: 1

Views: 1101

Answers (1)

Verhagen
Verhagen

Reputation: 4034

Not sure this is good enough, but at least the sqaure brackes are shown.

```
  [Code]: [Commit message]
```

Here an picture, of how your cases look on GitLab v7.12.2

enter image description here

Upvotes: 1

Related Questions