Markdown is a lightweight markup language used to format plain text into structured documents, often used for writing documentation, README files, and web content.
Basic Markdown Syntax Headings Use #
followed by a space for different heading levels:
1 2 3 4 5 6 # Heading 1 ## Heading 2 ### Heading 3 #### Heading 4 ##### Heading 5 ###### Heading 6
Bold & Italic 1 2 3 **Bold Text** or __Bold Text__ *Italic Text* or _Italic Text_ ***Bold and Italic* ** or ___Bold and Italic_ __
Lists Unordered List 1 2 3 4 - Item 1- Item 2 - Sub-item 1 - Sub-item 2
Ordered List 1 2 3 4 1. First item2. Second item 1. Nested item 2. Nested item
Links 1 [OpenAI ](https://openai.com )
Images 1 
Code Blocks
Example: This is inline code
.
Block Code Use triple backticks (```) for multi-line code blocks:
1 2 3 ```python def hello(): print("Hello, World!")
Tables 1 2 3 4 | Column 1 | Column 2 | Column 3 | |----------|----------|----------| | Row 1 | Data 1 | Data 2 | | Row 2 | Data 3 | Data 4 |
Task Lists 1 2 3 - [x] Task 1- [ ] Task 2- [ ] Task 3
Example:
Horizontal Line
1 This is a footnote reference[^1].
Example: This is a footnote reference[^1].
Escaping Characters Use \
before Markdown symbols to escape them:
Markdown is widely used in GitHub , documentation , and blogging platforms .