This post demonstrates the various Markdown elements you can use in your blog posts.
Table of contents
Open Table of contents
Headings
Use # for headings. This blog supports heading levels 2 through 6 in post content.
Emphasis
Bold text is created with double asterisks. Italic text uses single asterisks. Strikethrough uses double tildes.
Lists
Unordered List
- First item
- Second item
- Nested item
- Another nested item
- Third item
Ordered List
- First step
- Second step
- Third step
Links and Images
Link text creates a hyperlink.
Blockquotes
This is a blockquote. Use it to highlight important quotes or callouts in your posts.
Code
Inline code uses single backticks: const greeting = "hello".
Code blocks use triple backticks with an optional language identifier:
function greet(name: string): string {
return `Hello, ${name}!`;
}
Tables
| Column 1 | Column 2 | Column 3 |
|---|---|---|
| Row 1 | Data | More |
| Row 2 | Data | More |
Horizontal Rule
That covers the main Markdown features. Experiment with combining them to create rich, well-structured blog posts.