Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/xianmin/hugo-theme-jane.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChen Xianmin <xianmin12@gmail.com>2018-07-23 11:52:11 +0300
committerChen Xianmin <xianmin12@gmail.com>2018-07-23 11:52:11 +0300
commit585a9a7e5ae19cd5240e285ad0a539301230d9a5 (patch)
tree2a477151697951cf007f050e97ee94f3ff696fdf /exampleSite
parent667197003d67fb3ceccfe78cc62a42918f5066ae (diff)
feat: add shortcode notice
Diffstat (limited to 'exampleSite')
-rw-r--r--exampleSite/content/post/shortcode-notice.md73
1 files changed, 73 insertions, 0 deletions
diff --git a/exampleSite/content/post/shortcode-notice.md b/exampleSite/content/post/shortcode-notice.md
new file mode 100644
index 0000000..68bca0f
--- /dev/null
+++ b/exampleSite/content/post/shortcode-notice.md
@@ -0,0 +1,73 @@
+---
+title: "Shortcodes Notice Preview"
+date: 2018-03-03T16:01:23+08:00
+lastmod: 2018-03-04T16:01:23+08:00
+draft: false
+tags: ["preview", "shortcodes", "tag-6"]
+categories: ["docs", "shortcodes", "index"]
+---
+
+## normal use
+`Note` example:
+
+```shortcode
+{{%/* notice note */%}}
+A notice disclaimer
+{{%/* /notice */%}}
+```
+
+**Result:**
+{{% notice note %}}
+A notice disclaimer
+{{% /notice %}}
+
+
+You could **custom title** :
+
+
+```shortcode
+{{%/* notice note 笔记 */%}}
+A notice disclaimer
+{{%/* /notice */%}}
+```
+
+{{% notice note 笔记 %}}
+A notice disclaimer
+{{% /notice %}}
+
+
+## tip
+
+```shortcode
+{{%/* notice tip */%}}
+A tip disclaimer
+{{%/* /tip */%}}
+```
+
+{{% notice tip %}}
+A tip disclaimer
+{{% /notice %}}
+
+
+## info
+```shortcode
+{{%/* notice info */%}}
+A info disclaimer
+{{%/* /notice */%}}
+```
+
+{{% notice info %}}
+An information disclaimer
+{{% /notice %}}
+
+
+## warning
+```shortcode
+{{%/* notice warning */%}}
+A warning disclaimer
+{{%/* /notice */%}}
+```
+
+{{% notice warning %}}
+An warning disclaimer
+{{% /notice %}}