From cddaf9a0b89705ca9f5b3a30a648d6b20e2ce317 Mon Sep 17 00:00:00 2001 From: Yifan Jiang Date: Mon, 15 Jan 2024 06:55:46 +0000 Subject: [PATCH] Fix custom blockquotes (#2071) Fixed issue #2066. Removed `>` in front of `{: .block-tip }` which was introduced by prettier in the example post. --- _posts/2023-05-12-custom-blockquotes.md | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/_posts/2023-05-12-custom-blockquotes.md b/_posts/2023-05-12-custom-blockquotes.md index e2af560d21c1..fdaf47e6fd1d 100644 --- a/_posts/2023-05-12-custom-blockquotes.md +++ b/_posts/2023-05-12-custom-blockquotes.md @@ -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: + + ```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 } + +