Skip to content

📝 Markdown Syntax Cheatsheet

📄 Headings

# H1
## H2
### H3
#### H4
##### H5
###### H6

🔤 Text Formatting

**Bold Text**
*Italic Text*
***Bold & Italic***
~~Strikethrough~~

[OpenAI](https://www.openai.com)

🖼️ Images

![Alt text](path/to/image.jpg)
![Alt text](path/to/image.jpg "Optional Title")

📋 Lists

Unordered

- Item 1
- Item 2
  - Nested Item

Ordered

1. First item
2. Second item
   1. Sub-item

💬 Blockquotes

> This is a blockquote.
>> Nested blockquote

💻 Code

Inline

`inline code`

Block

def hello():
    print("Hello, Markdown!")

📊 Tables

| Name  | Age | City      |
|-------|-----|-----------|
| John  | 25  | New York  |
| Alice | 30  | London    |

✅ Task Lists

- [x] Write Markdown
- [ ] Learn ImageMagick

⚙️ Horizontal Rule

---

🔗 URLs & Email

<https://www.example.com>
<you@example.com>

🧩 Escaping Characters

\*This text is not italicized\*

🧰 Image Resizing Command (Linux)

To resize an image using ImageMagick:

sudo apt install imagemagick
convert assets/thai-red-curry.jpeg -resize 300x200 assets/thai-red-curry-small.jpeg