Skip to content

Commit 0a737aa

Browse files
Fix custom blockquotes (cotes2020#2071)
Fixed issue cotes2020#2066. Removed `>` in front of `{: .block-tip }` which was introduced by prettier in the example post.
1 parent 5459ef1 commit 0a737aa

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

_posts/2023-05-12-custom-blockquotes.md

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -84,44 +84,48 @@ A regular blockquote can be used as following:
8484
8585
These custom styles can be used by adding the specific class to the blockquote, as follows:
8686

87+
<!-- prettier-ignore-start -->
88+
8789
```markdown
8890
> ##### TIP
8991
>
9092
> A tip can be used when you want to give advice
9193
> related to a certain content.
92-
> {: .block-tip }
94+
{: .block-tip }
9395
```
9496

9597
> ##### TIP
9698
>
9799
> A tip can be used when you want to give advice
98100
> related to a certain content.
99-
> {: .block-tip }
101+
{: .block-tip }
100102

101103
```markdown
102104
> ##### WARNING
103105
>
104106
> This is a warning, and thus should
105107
> be used when you want to warn the user
106-
> {: .block-warning }
108+
{: .block-warning }
107109
```
108110

109111
> ##### WARNING
110112
>
111113
> This is a warning, and thus should
112114
> be used when you want to warn the user
113-
> {: .block-warning }
115+
{: .block-warning }
114116

115117
```markdown
116118
> ##### DANGER
117119
>
118120
> This is a danger zone, and thus should
119121
> be used carefully
120-
> {: .block-danger }
122+
{: .block-danger }
121123
```
122124

123125
> ##### DANGER
124126
>
125127
> This is a danger zone, and thus should
126128
> be used carefully
127-
> {: .block-danger }
129+
{: .block-danger }
130+
131+
<!-- prettier-ignore-end -->

0 commit comments

Comments
 (0)