Reputation: 3145
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
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
Upvotes: 1