Markdown Showcase
Markdown Showcase
This post demonstrates how various markdown elements render in the terminal.
Text Formatting
You can use bold text, italic text, and inline code.
You can also combine them: bold and italic.
Lists
Unordered Lists
- First item
- Second item
- Nested item
- Another nested item
- Third item
Ordered Lists
- First step
- Second step
- Third step
- Sub-step one
- Sub-step two
Blockquotes
“The best way to predict the future is to invent it.” — Alan Kay
Nested quotes:
First level
Second level
Third level
Code Blocks
Python
def fibonacci(n):
if n <= 1:
return n
return fibonacci(n-1) + fibonacci(n-2)
for i in range(10):
print(fibonacci(i))
JavaScript
const greet = (name) => {
return `Hello, ${name}!`;
};
console.log(greet("Terminal"));
Bash
#!/bin/bash
echo "Welcome to the terminal!"
for i in {1..5}; do
echo "Count: $i"
done
Tables
| Language | Typing | Use Case |
|---|---|---|
| Go | Static | Systems, CLI |
| Python | Dynamic | Scripts, ML |
| Rust | Static | Performance |
| JavaScript | Dynamic | Web |
Horizontal Rule
Links and References
Check out Charm for amazing terminal tools.
Task Lists
- Completed task
- Another completed task
- Pending task
- Future task
Final Notes
Markdown in the terminal is beautiful with Glamour rendering!