Skip to content

Commit cbad001

Browse files
committed
Merge branch 'docs/guidance-for-four-backticks' into 'master'
Document four backticks feature in markdown See merge request gitlab-org/gitlab-ce!24349
2 parents 09d9b11 + ca74ba9 commit cbad001

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

doc/development/documentation/styleguide.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -284,8 +284,14 @@ Inside the document:
284284
```md
285285
Markdown code
286286
```
287+
288+
```text
289+
Code for which no specific highlighting class is available.
290+
```
287291
````
288292
293+
- To display raw markdown instead of rendered markdown, use four backticks on their own lines around the
294+
markdown to display. See [example](https://gitlab.com/gitlab-org/gitlab-ce/blob/8c1991b9bb7e3b8d606481fdea316d633cfa5eb7/doc/development/documentation/styleguide.md#L275-287).
289295
- For a complete reference on code blocks, check the [Kramdown guide](https://about.gitlab.com/handbook/product/technical-writing/markdown-guide/#code-blocks).
290296
291297
## Alert boxes

0 commit comments

Comments
 (0)