From efc813cef530c7360c321da2cb9f8326a958138b Mon Sep 17 00:00:00 2001 From: Yifan Jiang Date: Sat, 13 Jan 2024 18:07:27 +0000 Subject: [PATCH 1/2] fix blockquote example --- _posts/2023-05-12-custom-blockquotes.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/_posts/2023-05-12-custom-blockquotes.md b/_posts/2023-05-12-custom-blockquotes.md index e2af560d21c1..474c3882fa50 100644 --- a/_posts/2023-05-12-custom-blockquotes.md +++ b/_posts/2023-05-12-custom-blockquotes.md @@ -89,39 +89,39 @@ These custom styles can be used by adding the specific class to the blockquote, > > 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 } From d13a1a59789f60e542e6b89eb7d57b3daf709000 Mon Sep 17 00:00:00 2001 From: Maruan Al-Shedivat Date: Mon, 15 Jan 2024 01:50:40 -0500 Subject: [PATCH 2/2] Add prettier ignore to post with custom blockquotes --- _posts/2023-05-12-custom-blockquotes.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/_posts/2023-05-12-custom-blockquotes.md b/_posts/2023-05-12-custom-blockquotes.md index 474c3882fa50..fdaf47e6fd1d 100644 --- a/_posts/2023-05-12-custom-blockquotes.md +++ b/_posts/2023-05-12-custom-blockquotes.md @@ -84,6 +84,8 @@ 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 > @@ -125,3 +127,5 @@ These custom styles can be used by adding the specific class to the blockquote, > This is a danger zone, and thus should > be used carefully {: .block-danger } + +