Fix indentation and markup for Markdown codeblock

This commit is contained in:
Achilleas Pipinellis 2019-01-11 12:48:37 +01:00
parent a0f7709085
commit a45c223606
No known key found for this signature in database
GPG key ID: A0996FBD3E92C17B

View file

@ -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
```
````md
```ruby
Ruby code
```
```js
JavaScript code
```
```js
JavaScript code
```
```md
Markdown 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).