Basic Syntax 1:
| Syntax | Output |
|---|---|
# Heading 1 |
# Heading 1 |
## Heading 2 |
## Heading 2 |
### Heading 3 |
### Heading 3 |
#### Heading 4 |
#### Heading 4 |
##### Heading 5 |
##### Heading 5 |
###### Heading 6 |
###### Heading 6 |
standard text or paragraph |
standard text or paragraph |
*italic text* or _italic text_
|
italic text |
**bold text** or __bold text__
|
bold text |
~~strikethrough text~~ |
|
`code` |
code |
[Scrimba](https://scrimba.com/ "Learn to code with Scrimba") |
Scrimba |
 |
![]() |
<user@example.com> |
user@example.com |
https://www.example.com |
https://www.example.com |
Basic Syntax 2:
1. Paragraphs
Syntax:
This is paragraph one.
There is a new line between the paragraph above and the paragraph below.
This is paragraph three.
Output:
This is paragraph one.
There is a new line between the paragraph above and the paragraph below.
This is paragraph three.
2. Line break
Syntax:
---
Output:
2. Blockquote
Syntax:
> Blockquote
Output:
Blockquote
3. Code Block:
Syntax:
```markdown
code block
```
Output:
codeblock
4. Ordered list:
Syntax:
1. Item 1
2. item 2
3. Item 3
Output:
- Item 1
- Item 2
- Item 3
5. Unordered list:
Syntax:
* Item 1
* Item 2
* Item 3
or
- Item 1
- Item 2
- Item 3
Output:
- Item 1
- Item 2
- Item 3
5. Indented and mixed list:
Syntax:
1. Item 1
* Subitem 1
* Subitem 2
1. Sub-subitem 1
2. Sub-subitem 2
2. Item 2
1. Subitem 3
* Sub-subitem 3
* Sub-subtitem 4
Output:
- Item 1
- Subitem 1
- Subitem 2
- Sub-subitem 1
- Sub-subitem 2
- Item 2
- Subitem 3
- Sub-subitem 3
- Sub-subtitem 4
- Subitem 3
6. Table
Syntax:
| Column 1 | Column 2 | Column 3 |
| :---- | :----: | ----: |
| Left aligned | Center Aligned | Right Aligned |
| Col 1 Row 1 | Col 2 Row 1 | Col 3 Row 1 |
| Col 1 Row 2 | Col 2 Row 2 | Col 3 Row 2 |
| Col 1 Row 3 | Col 2 Row 3 | Col 3 Row 3 |
Output:
| Column 1 | Column 2 | Column 3 |
|---|---|---|
| Left aligned | Center Aligned | Right Aligned |
| Col 1 Row 1 | Col 2 Row 1 | Col 3 Row 1 |
| Col 1 Row 2 | Col 2 Row 2 | Col 3 Row 2 |
| Col 1 Row 3 | Col 2 Row 3 | Col 3 Row 3 |
7. Task list
Syntax:
- [x] Task 1
- [ ] Task 2
- [ ] Task 3
Output:
- [x] Task 1
- [ ] Task 2
- [ ] Task 3

Top comments (0)