summaryrefslogtreecommitdiff
path: root/themes/itheme/exampleSite/content/posts/mark-down-syntax.md
diff options
context:
space:
mode:
Diffstat (limited to 'themes/itheme/exampleSite/content/posts/mark-down-syntax.md')
-rw-r--r--themes/itheme/exampleSite/content/posts/mark-down-syntax.md135
1 files changed, 135 insertions, 0 deletions
diff --git a/themes/itheme/exampleSite/content/posts/mark-down-syntax.md b/themes/itheme/exampleSite/content/posts/mark-down-syntax.md
new file mode 100644
index 0000000..00f8cf8
--- /dev/null
+++ b/themes/itheme/exampleSite/content/posts/mark-down-syntax.md
@@ -0,0 +1,135 @@
+---
+title: "Markdown Syntax Example"
+date: 2023-03-20T13:06:38+08:00
+description: "display the markdown syntax in iTheme"
+author: "Floyd Li"
+tags: ["markdown"]
+theme: "dark"
+featured: true
+cover: "https://www.apple.com.cn/newsroom/images/apple-logo_black.jpg.landing-regular_2x.jpg"
+---
+
+# Headings
+
+```markdown
+# H1
+## H2
+### H3
+#### H4
+##### H5
+###### H6
+```
+
+# H1
+
+## H2
+
+### H3
+
+#### H4
+
+##### H5
+
+###### H6
+
+
+# Image
+
+```markdown
+Image - Wide
+
+![Image Wide|wide](https://www.apple.com.cn/newsroom/images/apple-logo_black.jpg.landing-regular_2x.jpg)
+
+Image - Big
+
+![Image Big|big](https://www.apple.com.cn/newsroom/images/apple-logo_black.jpg.landing-regular_2x.jpg)
+
+Image - Inline
+
+![Image Inline|inline](https://www.apple.com.cn/newsroom/images/apple-logo_black.jpg.landing-regular_2x.jpg)
+```
+
+![Image Wide|wide](https://www.apple.com.cn/newsroom/images/apple-logo_black.jpg.landing-regular_2x.jpg)
+
+![Image Big|big](https://www.apple.com.cn/newsroom/images/apple-logo_black.jpg.landing-regular_2x.jpg)
+
+![Image Inline|inline](https://www.apple.com.cn/newsroom/images/apple-logo_black.jpg.landing-regular_2x.jpg)
+
+# Block Quotes
+
+```markdown
+> You are young and life is long - Pink Floyd
+
+```
+
+> You are young and life is long - Pink Floyd
+
+# Code Blocks
+
+``````markdown
+```javascript
+function say() {
+ const greeting = "I'll see you on the dark side of the moon";
+ console.log(greeting);
+}
+```
+``````
+
+```javascript
+function say() {
+ const greeting = "I'll see you on the dark side of the moon";
+ console.log(greeting);
+}
+```
+
+# Table
+
+```markdown
+| Band | Country | Song |
+| ------------------ | :-----------: | --------------: |
+| Pink Floyd | *UK* | Time |
+| Led Zeppelin | **UK** | Immigrant Song |
+| The Rolling Stones | ~~UK~~ | Don't Stop |
+| Nirvana | ~~***USA***~~ | Come as You Are |
+```
+
+| Band | Country | Song |
+| ------------------ | :-----------: | --------------: |
+| Pink Floyd | *UK* | Time |
+| Led Zeppelin | **UK** | Immigrant Song |
+| The Rolling Stones | ~~UK~~ | Don't Stop |
+| Nirvana | ~~***USA***~~ | Come as You Are |
+
+# List Types
+
+## Ordered List
+
+```markdown
+1. Queen
+2. The Velvet Underground
+3. Dire Straits
+```
+
+1. Queen
+2. The Velvet Underground
+3. Dire Straits
+
+## Unordered List
+
+```markdown
+- David Bowie
+- Iggy Pop
+- Bob Dylan
+```
+
+- David Bowie
+- Iggy Pop
+- Bob Dylan
+
+# Emoji
+
+This is a test for emoji.
+:smile:
+:see_no_evil:
+:smile_cat:
+:watermelon: