Skip to content

Commit

Permalink
Fix custom blockquotes (#2071)
Browse files Browse the repository at this point in the history
Fixed issue #2066. Removed `>` in front of `{: .block-tip }` which was
introduced by prettier in the example post.
  • Loading branch information
YifanJiang233 authored Jan 15, 2024
1 parent 5459ef1 commit 0a737aa
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions _posts/2023-05-12-custom-blockquotes.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

<!-- prettier-ignore-start -->

```markdown
> ##### TIP
>
> A tip can be used when you want to give advice
> related to a certain content.
> {: .block-tip }
{: .block-tip }
```

> ##### TIP
>
> A tip can be used when you want to give advice
> related to a certain content.
> {: .block-tip }
{: .block-tip }

```markdown
> ##### WARNING
>
> This is a warning, and thus should
> be used when you want to warn the user
> {: .block-warning }
{: .block-warning }
```

> ##### WARNING
>
> This is a warning, and thus should
> be used when you want to warn the user
> {: .block-warning }
{: .block-warning }

```markdown
> ##### DANGER
>
> This is a danger zone, and thus should
> be used carefully
> {: .block-danger }
{: .block-danger }
```

> ##### DANGER
>
> This is a danger zone, and thus should
> be used carefully
> {: .block-danger }
{: .block-danger }

<!-- prettier-ignore-end -->

0 comments on commit 0a737aa

Please sign in to comment.