# Heading 1 ## Heading 2 ### Heading 3 #### Heading 4 ##### Heading 5 ###### Heading 6
Use hash symbols for headings. More hashes mean smaller headings.
**Bold text** or __Bold text__ *Italic text* or _Italic text_ ~~Strikethrough text~~ `Inline code` ***Bold and italic text***
Bold text or Bold text
Italic text or Italic text
Strikethrough text
Inline code
Bold and italic text
Unordered List: - Item 1 - Item 2 - Subitem 2.1 - Subitem 2.2 Ordered List: 1. First item 2. Second item 3. Third item
Unordered List:
Ordered List:
> This is a blockquote > It can span multiple lines > Nested blockquotes >> Like this
This is a blockquote
It can span multiple lines
Nested blockquotes
Like this
```javascript // Code block with syntax highlighting function hello() { console.log("Hello world!"); } ``` // Indented code block (4 spaces) function hello() { console.log("Hello world!"); }
// Code block with syntax highlighting
function hello() {
console.log("Hello world!");
}
// Indented code block (4 spaces)
function hello() {
console.log("Hello world!");
}
| Header 1 | Header 2 | | -------- | -------- | | Cell 1 | Cell 2 | | Cell 3 | Cell 4 |
Header 1 | Header 2 |
---|---|
Cell 1 | Cell 2 |
Cell 3 | Cell 4 |
| Left-aligned | Center-aligned | Right-aligned | |:------------ |:-------------:| -------------:| | Left | Center | Right |
Left-aligned | Center-aligned | Right-aligned |
---|---|---|
Left | Center | Right |
Column alignment using colons:
- :----
for left alignment (default)
- :----:
for center alignment
- ----:
for right alignment
| Name | Category | Quantity | |-------|----------|----------| | Apples| Fruit | 5 | | Pasta | Grains | 2 | | Milk | Dairy | 1 |
Name | Category | Quantity |
---|---|---|
Apples | Fruit | 5 |
Pasta | Grains | 2 |
Milk | Dairy | 1 |
--- or *** or ___
or
or