Headings
Markdown supports six levels of headings:
Heading 1
Heading 2
Heading 3
Heading 4
Heading 5
Heading 6
Emphasis
You can add emphasis to your text:
This text is italicized This is also italicized
This text is bold This is also bold
This text is bold and italic This is also bold and italic
Lists
Unordered Lists
- First item
- Second item
- Nested item
- Another nested item
- Third item
Ordered Lists
- First item
- Second item
- Nested item
- Another nested item
- Third item
Links and Images
Links
Images
Code
Inline Code
Use backticks
for inline code.
Code Blocks
// JavaScript code
function greet(name) {
console.log(`Hello, ${name}!`);
}
greet('World');
# Python code
def greet(name):
print(f"Hello, {name}!")
greet("World")
Blockquotes
This is a blockquote. It can span multiple lines.
Blockquotes can be nested.
Tables
Header 1 | Header 2 | Header 3 |
---|---|---|
Cell 1 | Cell 2 | Cell 3 |
Cell 4 | Cell 5 | Cell 6 |
Cell 7 | Cell 8 | Cell 9 |
Horizontal Rules
Use three or more hyphens, asterisks, or underscores:
Task Lists
- Completed task
- Uncompleted task
- Another completed task
Footnotes
Here’s a sentence with a footnote1.
HTML
You can also use HTML tags directly in Markdown.
Click to expand
This is hidden content that can be expanded.
Conclusion
This guide covers the most common Markdown syntax elements. The Bootstrap Blog theme renders all of these elements beautifully with proper styling.
This is the footnote content. ↩︎