Markdown is a lightweight markup language designed to create easily readable and simultaneously formattable text. It is often used to format text in websites, documentation, and other text-based formats. Markdown files use the .md
or .markdown
file extension.
Here are some basic elements of Markdown:
Headings:
# Heading 1
## Heading 2
### Heading 3
Text Formatting:
*italic*
or _italic_
**bold**
or __bold__
~~strikethrough~~
Lists:
* Item 1
* Item 2
1. Item 1
2. Item 2
Links:
[Link text](URL)
Images:
![Alt text](Image URL)
Code:
`code`
Blockquotes:
> This is a quote
Horizontal Line:
---
or ***
Markdown is particularly useful because it is easily readable even when not rendered. This makes it ideal for use in versioning and collaboration systems like GitHub, where users can directly view and edit text files.