# Basic Markdown to HTML
## Headings
### Markdown
```md
# Basic writing and formatting syntax
```
### Parsed HTML
```html
Basic writing and formatting syntax
```
```md
## Headings
```
```html
Headings
```
```md
### A third-level heading
```
```html
A third-level heading
```
### Markdown
```md
Heading 2
---
```
### Parsed HTML
```html
Heading 2
```
---
## Paragraphs
### Markdown
```md
Create sophisticated formatting for your prose and code on GitHub with simple syntax.
```
### Parsed HTML
```html
Create sophisticated formatting for your prose and code on GitHub with simple syntax.
```
---
## Inline Formatting
### Bold
```md
**This is bold text**
```
```html
This is bold text
```
---
### Italic
```md
_This text is italicized_
```
```html
This text is italicized
```
---
### Bold + Italic
```md
***All this text is important***
```
```html
All this text is important
```
---
### Strikethrough (GFM)
```md
~~This was mistaken text~~
```
```html
This was mistaken text
```
---
### Subscript / Superscript (raw HTML passthrough)
```md
This is a subscript text
```
```html
This is a subscript text
```
```md
This is a superscript text
```
```html
This is a superscript text
```
---
## Blockquotes
### Markdown
```md
> Text that is a quote
```
### Parsed HTML
```html
Text that is a quote
```
---
### GitHub Alert (NOTE)
```md
> [!NOTE]
> Useful information.
```
```html
Note
Useful information.
```
> ⚠️ The `markdown-alert-*` classes are GitHub-specific, not standard Markdown.
---
## Inline Code
```md
Use `git status` to list files.
```
```html
Use git status to list files.
```
---
## Code Blocks
### Markdown
````md
```markdown
git status
git add
```
````
### Parsed HTML
```html
git status
git add
```
---
## Tables
### Markdown
```md
| Style | Syntax |
|------|--------|
| Bold | ** ** |
```
### Parsed HTML
```html
```
---
## Links
### Markdown
```md
[GitHub Pages](https://pages.github.com/)
```
### Parsed HTML
```html
GitHub Pages
```
---
## Images
### Markdown
```md

```
### Parsed HTML
```html
```
---
## Lists
### Unordered List
```md
- George Washington
- John Adams
```
```html
- George Washington
- John Adams
```
---
### Ordered List
```md
1. James Madison
2. James Monroe
```
```html
- James Madison
- James Monroe
```
---
### Nested Lists
```md
1. First item
- Nested item
```
```html
-
First item
```
---
## Task Lists (GitHub Flavored Markdown)
```md
- [x] Done
- [ ] Pending
```
```html
```
---
## Mentions
```md
@github/support
```
```html
@github/support
```
---
## Footnotes
### Markdown
```md
Here is a footnote[^1].
[^1]: My reference.
```
### Parsed HTML
```html
Here is a footnote
1
.
```
---
## HTML Comments (Hidden Content)
```md
```
```html
```
---
## Escaped Markdown Characters
```md
\*not italic\*
```
```html
*not italic*
```
---
## Emoji
```md
:+1:
```
```html
```
(GitHub replaces emoji with `
` tags.)
---