diff options
author | Marcel Amirault <mamirault@gitlab.com> | 2019-07-12 11:44:51 +0900 |
---|---|---|
committer | Marcel Amirault <mamirault@gitlab.com> | 2019-07-12 11:44:51 +0900 |
commit | cc748d5b9596053834b358ded4e113bbc747c21d (patch) | |
tree | 500029136e4d43307a24b964a07bc33ab17d5d63 /doc/user/asciidoc.md | |
parent | e105232ccf4fd88d5beb64d91a5bd0171c1796c6 (diff) | |
download | gitlab-ce-docs-code-block-fences.tar.gz |
Add blank lines around code blocksdocs-code-block-fences
All code blocks should be surrounded by blank lines
Diffstat (limited to 'doc/user/asciidoc.md')
-rw-r--r-- | doc/user/asciidoc.md | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/doc/user/asciidoc.md b/doc/user/asciidoc.md index 06cc64b209d..df86b2a1cbe 100644 --- a/doc/user/asciidoc.md +++ b/doc/user/asciidoc.md @@ -170,6 +170,7 @@ Attach a block or paragraph to a list item using a list continuation (which you * [x] checked * [ ] not checked ``` + #### Callout ```asciidoc @@ -188,6 +189,7 @@ first term:: description of first term second term:: description of second term ``` + ### Document Structure #### Header @@ -197,6 +199,7 @@ description of second term Author Name <author@example.org> v1.0, 2019-01-01 ``` + #### Sections ```asciidoc @@ -217,6 +220,7 @@ include::basics.adoc[] // define -a allow-uri-read to allow content to be read from URI include::https://example.org/installation.adoc[] ``` + ### Blocks ```asciidoc @@ -273,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] @@ -369,4 +373,3 @@ video::300817511[vimeo] // page break <<< ``` - |