Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Read <eread@gitlab.com>2019-01-14 03:55:45 +0300
committerEvan Read <eread@gitlab.com>2019-01-14 03:55:45 +0300
commit135c2d9a0144f8244e8b85f67a4896794109b238 (patch)
tree5b3f470ca5b4053ce8ae14c20b0402e8f242a63f
parent1e7fefef81bee1c8f8cf6e287540e9b0e547a0a8 (diff)
parenta45c2236067314b83722e03dd26755a789d5e14e (diff)
Merge branch 'docs/fix-codeblock-markdown' into 'master'
Fix indentation and markup for Markdown codeblock See merge request gitlab-org/gitlab-ce!24321
-rw-r--r--doc/development/documentation/styleguide.md26
1 files changed, 13 insertions, 13 deletions
diff --git a/doc/development/documentation/styleguide.md b/doc/development/documentation/styleguide.md
index 721e26f2de9..15363b4750c 100644
--- a/doc/development/documentation/styleguide.md
+++ b/doc/development/documentation/styleguide.md
@@ -272,19 +272,19 @@ Inside the document:
- For regular code blocks, always use a highlighting class corresponding to the
language for better readability. Examples:
- ```md
- ```ruby
- Ruby code
- ```
-
- ```js
- JavaScript code
- ```
-
- ```md
- Markdown code
- ```
- ```
+ ````md
+ ```ruby
+ Ruby code
+ ```
+
+ ```js
+ JavaScript code
+ ```
+
+ ```md
+ Markdown code
+ ```
+ ````
- For a complete reference on code blocks, check the [Kramdown guide](https://about.gitlab.com/handbook/product/technical-writing/markdown-guide/#code-blocks).