Add note for plain text (#376).

This commit is contained in:
Yash Singh 2021-03-09 13:00:04 -08:00 committed by GitHub
parent ac8545e0d1
commit 4f9b698586
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1569,6 +1569,14 @@ echo Hello world
```
````
To display a code block without syntax highlighting, use:
````markdown
```text
Plain text in a code block
```
````
Rationale: Specifying a language improves content rendering by using the
correct syntax highlighting for code. More information:
<https://cirosantilli.com/markdown-style-guide#option-code-fenced>.