markdown
A quick reference for Markdown syntax, covering text formatting, lists, links, images and more.
Text Formatting
Basic syntax for formatting text in Markdown.
Headings
Make text bold.
# Heading 1## Heading 2### Heading 3
Bold
Make text bold.
**bold** or __bold__
Italic
Make text italic.
*italic* or _italic_
Strikethrough
Strike through text.
~~strikethrough~~
Inline Code
Format inline code.
`inline code`
Highlight
Emphasize important text by highlighting it.
I need to highlight these ==very important words==.
Subscript
Format text as subscript.
H~2~O
Superscript
Format text as superscript.
X^2^
Lists
Create ordered and unordered lists.
Unordered List
Create a bullet-point list.
- Item 1- Item 2
Ordered List
Create a numbered list.
1. First item2. Second item
Task List
Define tasks with checkboxes.
- [x] Completed task- [ ] Incomplete task
Links and Images
Syntax for adding links and images.
Link
Create a hyperlink.
[Example](https://example.com)
Image
Embed an image.

Image with a link
Embed an image that links to a URL.
[](https://example.com)
Block Elements
Structural formatting for text and content.
Blockquote
Format text as a block quote.
> This is a blockquote.
Horizontal Rule
Insert a horizontal line.
---
Fenced Code Block
Create a block of code.
```javascriptconsole.log("Hello, world!");```
Tables
Create tables in Markdown.
Table
Define a table structure.
| Row 1, Column 1 | Row 1, Column 2 || Row 2, Column 1 | Row 2, Column 2 || Row 3, Column 1 | Row 3, Column 2 |
Header Row
Define a header row for the table.
| Header 1 | Header 2 ||----------|----------|| Data 1 | Data 2 |
Left Alignment
Align table cells to the left.
| Left-Aligned ||:------------|| Data 1 || Data 2 |
Center Alignment
Align table cells to the center.
| Center-Aligned ||:--------------:|| Data 1 || Data 2 |
Right Alignment
Align table cells to the right.
| Right-Aligned ||--------------:|| Data 1 || Data 2 |