summaryrefslogtreecommitdiff
path: root/doc/user/asciidoc.md
diff options
context:
space:
mode:
authorMarcel Amirault <mamirault@gitlab.com>2019-08-16 12:06:00 +0000
committerMarcia Ramos <marcia@gitlab.com>2019-08-16 12:06:00 +0000
commitafe4d3e5bb28a3c0de6e0885de4a45e1396e304f (patch)
tree0b87940310d1c5753a0597e15cb822fa9ce988e5 /doc/user/asciidoc.md
parent0b3fbffab096854fac9c32a0c2ccaa6978f988be (diff)
downloadgitlab-ce-afe4d3e5bb28a3c0de6e0885de4a45e1396e304f.tar.gz
Update docs style for code blocks
Clarify rules for code blocks, including spaces above and below, and to use tilde when code blocks contain triple backticks
Diffstat (limited to 'doc/user/asciidoc.md')
-rw-r--r--doc/user/asciidoc.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/user/asciidoc.md b/doc/user/asciidoc.md
index df86b2a1cbe..862316b57da 100644
--- a/doc/user/asciidoc.md
+++ b/doc/user/asciidoc.md
@@ -277,11 +277,11 @@ source - a listing that is embellished with (colorized) syntax highlighting
----
```
-````asciidoc
+~~~asciidoc
\```language
fenced code - a shorthand syntax for the source block
\```
-````
+~~~
```asciidoc
[,attribution,citetitle]