Text Formatting
- Bold text
- Italic text
inline code- Regular text with links
Code Blocks
Python:
def fibonacci(n):
"""Generate fibonacci sequence."""
a, b = 0, 1
for _ in range(n):
yield a
a, b = b, a + b
# Print first 10 fibonacci numbers
for num in fibonacci(10):
print(num)
JavaScript:
const greet = (name) => {
return `Hello, ${name}!`;
};
console.log(greet('World'));
Lists
Unordered:
- Item 1
- Item 2
- Item 3
Ordered:
- First
- Second
- Third
Blockquotes
This is a blockquote.
Metadata
Frontmatter fields:
- title - Post title
- date - YYYY-MM-DD format
- description - Short excerpt for listings
- section - posts or projects
- hidden - Set to true to hide from listings
Tables
| Column 1 | Column 2 |
|---|---|
| Cell 1 | Cell 2 |
| Cell 3 | Cell 4 |