Skip to content

Markdown

Markdown is a lightweight markup language that allows you to format text using simple, readable syntax. It's widely used for documentation, README files, and note-taking applications.

Basic Syntax

Headers

# H1 Header
## H2 Header
### H3 Header
#### H4 Header
##### H5 Header
###### H6 Header

Text Formatting

**Bold text** or __Bold text__
*Italic text* or _Italic text_
***Bold and italic*** or ___Bold and italic___
~~Strikethrough~~
`Inline code`

Lists

Unordered Lists:

- Item 1
- Item 2
  - Nested item
  - Another nested item
- Item 3

* Alternative bullet
+ Another alternative

Ordered Lists:

1. First item
2. Second item
   1. Nested numbered item
   2. Another nested item
3. Third item

[Link text](https://example.com)
[Link with title](https://example.com "Title text")

![Alt text](image.jpg)
![Image with title](image.jpg "Image title")

Code Blocks


Basic code block
```python
# Python code with syntax highlighting
def hello_world():
    print("Hello, World!")
### Blockquotes
```markdown
> This is a blockquote
> 
> It can span multiple lines
> 
> > And can be nested

Tables

| Header 1 | Header 2 | Header 3 |
|----------|----------|----------|
| Cell 1   | Cell 2   | Cell 3   |
| Cell 4   | Cell 5   | Cell 6   |

| Left | Center | Right |
|:-----|:------:|------:|
| Left | Center | Right |

Horizontal Rules

---
***
___

Line Breaks

End a line with two spaces  
to create a line break.

Or use a blank line

to create a paragraph break.

Advanced Features

Task Lists

- [x] Completed task
- [ ] Incomplete task
- [ ] Another incomplete task

Footnotes

Here's a sentence with a footnote[^1].

[^1]: This is the footnote content.

HTML Support

Markdown supports inline HTML for more complex formatting:

<details>
<summary>Click to expand</summary>
Content inside collapsible section.
</details>

Markdown's simplicity and readability make it an excellent choice for documentation and content creation across many platforms and applications.