Fix custom blockquotes (#2071)
Fixed issue #2066. Removed `>` in front of `{: .block-tip }` which was introduced by prettier in the example post.
This commit is contained in:
parent
5459ef19b8
commit
0a737aa022
|
|
@ -84,44 +84,48 @@ A regular blockquote can be used as following:
|
||||||
|
|
||||||
These custom styles can be used by adding the specific class to the blockquote, as follows:
|
These custom styles can be used by adding the specific class to the blockquote, as follows:
|
||||||
|
|
||||||
|
<!-- prettier-ignore-start -->
|
||||||
|
|
||||||
```markdown
|
```markdown
|
||||||
> ##### TIP
|
> ##### TIP
|
||||||
>
|
>
|
||||||
> A tip can be used when you want to give advice
|
> A tip can be used when you want to give advice
|
||||||
> related to a certain content.
|
> related to a certain content.
|
||||||
> {: .block-tip }
|
{: .block-tip }
|
||||||
```
|
```
|
||||||
|
|
||||||
> ##### TIP
|
> ##### TIP
|
||||||
>
|
>
|
||||||
> A tip can be used when you want to give advice
|
> A tip can be used when you want to give advice
|
||||||
> related to a certain content.
|
> related to a certain content.
|
||||||
> {: .block-tip }
|
{: .block-tip }
|
||||||
|
|
||||||
```markdown
|
```markdown
|
||||||
> ##### WARNING
|
> ##### WARNING
|
||||||
>
|
>
|
||||||
> This is a warning, and thus should
|
> This is a warning, and thus should
|
||||||
> be used when you want to warn the user
|
> be used when you want to warn the user
|
||||||
> {: .block-warning }
|
{: .block-warning }
|
||||||
```
|
```
|
||||||
|
|
||||||
> ##### WARNING
|
> ##### WARNING
|
||||||
>
|
>
|
||||||
> This is a warning, and thus should
|
> This is a warning, and thus should
|
||||||
> be used when you want to warn the user
|
> be used when you want to warn the user
|
||||||
> {: .block-warning }
|
{: .block-warning }
|
||||||
|
|
||||||
```markdown
|
```markdown
|
||||||
> ##### DANGER
|
> ##### DANGER
|
||||||
>
|
>
|
||||||
> This is a danger zone, and thus should
|
> This is a danger zone, and thus should
|
||||||
> be used carefully
|
> be used carefully
|
||||||
> {: .block-danger }
|
{: .block-danger }
|
||||||
```
|
```
|
||||||
|
|
||||||
> ##### DANGER
|
> ##### DANGER
|
||||||
>
|
>
|
||||||
> This is a danger zone, and thus should
|
> This is a danger zone, and thus should
|
||||||
> be used carefully
|
> be used carefully
|
||||||
> {: .block-danger }
|
{: .block-danger }
|
||||||
|
|
||||||
|
<!-- prettier-ignore-end -->
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue