put warning example in code block

This commit is contained in:
Tammy Fox 2018-08-24 16:15:04 -04:00 committed by GitHub
parent e4afd61727
commit bf14bccb6f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -646,12 +646,14 @@ It renders like this with a colored sidebar and icon:
Use the `warning` class to let people know this is dangerous or they should pay close attention to this part of the road before moving on:
```
> Ouch, don't do that!
>
> Sticking your finger in an electrical outlet can result in an electric shock.
>
> You can also add more paragraphs here if your explanation is super complex.
{: .warning}
```
It will render like this with a colored sidebar and icon: