Markdown Guide: Basic Syntax
Markdown is a lightweight markup language that lets you create formatted documents using plain text. It’s the most natural way to produce content on Astro-based sites like Zahit.
Headings
# H1 Heading
## H2 Heading
### H3 Heading
Text Formatting
Use double asterisks for bold text, single asterisks for italics, and double tildes for strikethrough.
Use
>for blockquotes. This is a great way to highlight important sentences you want readers to notice.
Lists
Unordered list:
- First item
- Second item
- Nested item
- Third item
Ordered list:
- Do this first
- Then this
- Finally this
Links and Images
Add links in the format Astro official site.
Code Blocks
Use backticks for inline code.
function zahit() {
return 'Simplicity is depth, not lack.';
}
Tables
| Syntax | Description |
|---|---|
**bold** | Bold text |
*italic* | Italic text |
[text](url) | Link |
Markdown takes minutes to learn and a lifetime to appreciate.