From a22d836f0519c33ff7a7a65b41a2731910b61a5a Mon Sep 17 00:00:00 2001 From: Michele Cereda Date: Fri, 12 Apr 2024 20:12:47 +0200 Subject: [PATCH] refactor(snippets/info-blocks): move all block types under a single file --- knowledge base/html.placeholder | 1 + snippets/alert.md | 17 -------- snippets/info-blocks.md | 69 +++++++++++++++++++++++++++++++++ snippets/tip.md | 13 ------- snippets/warning.md | 13 ------- 5 files changed, 70 insertions(+), 43 deletions(-) create mode 100644 knowledge base/html.placeholder delete mode 100644 snippets/alert.md create mode 100644 snippets/info-blocks.md delete mode 100644 snippets/tip.md delete mode 100644 snippets/warning.md diff --git a/knowledge base/html.placeholder b/knowledge base/html.placeholder new file mode 100644 index 0000000..1c0a827 --- /dev/null +++ b/knowledge base/html.placeholder @@ -0,0 +1 @@ +[color names chart]: https://htmlcolorcodes.com/color-names/ diff --git a/snippets/alert.md b/snippets/alert.md deleted file mode 100644 index 04ee6f7..0000000 --- a/snippets/alert.md +++ /dev/null @@ -1,17 +0,0 @@ - - -
-
🛑 Alert 🛑
- -content - -
diff --git a/snippets/info-blocks.md b/snippets/info-blocks.md new file mode 100644 index 0000000..5401721 --- /dev/null +++ b/snippets/info-blocks.md @@ -0,0 +1,69 @@ + + +The idea here is to mimic Confluence's Info panel. + + + +
+
💡 Tip
+ +content + +
+ +
+
ⓘ Info
+ +content + +
+ +
+
🗒 Note
+ +content + +
+ +
+
⚠ Warning
+ +content + +
+ +
+
🛑 Alert
+ +content + +
diff --git a/snippets/tip.md b/snippets/tip.md deleted file mode 100644 index c5a0cc4..0000000 --- a/snippets/tip.md +++ /dev/null @@ -1,13 +0,0 @@ - - -
-
Pro tip
- -content - -
diff --git a/snippets/warning.md b/snippets/warning.md deleted file mode 100644 index dd6b36c..0000000 --- a/snippets/warning.md +++ /dev/null @@ -1,13 +0,0 @@ - - -
-
⚠ Warning ⚠️
- -content - -