Markdown is a lightweight markup language that allows you to add formatting elements to plain text documents. Created by John Gruber in 2004, it enables easy writing of formatted documents without complex HTML.
Ideal for documentation, README files, notes, and static site content.
Use #
symbols to define headings. Markdown supports six levels (<h1>
to <h6>
in HTML):
# Heading Level 1
## Heading Level 2
### Heading Level 3
#### Heading Level 4
##### Heading Level 5
###### Heading Level 6
Separate blocks of text by one or more blank lines.
This is the first paragraph.
This is the second paragraph.
End a line with two or more spaces and press Enter
to force a line break.
This is the first line.
This is the second line.
Wrap text with double asterisks (**
) or double underscores (__
):
**Bold Text** or **Bold Text**
Wrap text with single asterisks (*
) or single underscores (_
):
_Italic Text_ or _Italic Text_
Wrap text with triple asterisks (***
) or triple underscores (___
):
**_Bold and Italic_**
Use a >
symbol to create a blockquote:
> This is a blockquote.
Nested blockquotes are allowed with
>>
,>>>
, etc.
Use numbers followed by a period (.
):
1. First item
2. Second item
3. Third item
Use dashes (-
), asterisks (*
), or plus signs (+
):
- Item one
- Item two
- Item three
Be consistent with one bullet type per list.
Use triple backticks (```) or indent lines with four spaces.
<html>
<head>
<title>Example</title>
</head>
<body>
<h1>Hello, Markdown!</h1>
</body>
</html>
Wrap text with single backticks to denote inline code:
Use the `console.log()` function.
Use 
to insert images:

Use three or more dashes (---
), asterisks (***
), or underscores (___
) on a line:
---
Use [text](URL)
syntax for hyperlinks:
[Visit GitHub](https://github.com/)
Use pipes (|
) and hyphens (-
) to build tables:
| Syntax | Description | Example Text |
| --------- | ----------- | ---------------- |
| Header | Title | This is a sample |
| Paragraph | Body Text | More content |
# My Project
Welcome to my project! Below is a list of features:
## ๐ Features
1. **User-Friendly**
- Easy to navigate
2. _Fast and Lightweight_
- Minimal overhead
## ๐ป Code Sample
```html
<html>
<head>
<title>Sample</title>
</head>
<body>
<p>This is a sample paragraph.</p>
</body>
</html>
```
For a full reference, visit the Markdown Guide.