Welcome to the comprehensive Markdown tutorial! Markdown is a lightweight markup language with plain-text formatting syntax. It's commonly used for formatting text on the web and is widely supported across various platforms.
Headings
You can create headings by using one to six hash symbols (#
). The number of hash symbols indicates the level of the header.
Heading 1
Heading 2
Heading 3
Heading 4
Heading 5
Heading 6
# Heading 1
## Heading 2
### Heading 3
#### Heading 4
##### Heading 5
###### Heading 6
Horizontal Rules
Horizontal rules can be created using three or more hyphens (---
), asterisks (***
), or underscores (___
).
---
Emphasis
You can make text bold or italic using asterisks (*
) or underscores (_
).
Bold Text Italic Text
**Bold Text**
*Italic Text*
Strikethrough
You can strike through text using html (<del></del>
).
Strikethrough Text
<del>Strikethrough Text</del>
Underline
Markdown doesn't have a native underline syntax, but you can achieve it using HTML <u>
tags.
Underline Text
<u>Underline Text</u>
Blockquotes
You can create blockquotes using the greater than symbol (>
).
This is a blockquote.
> This is a blockquote.
Lists
Markdown supports both ordered and unordered lists.
- Unordered Item 1
- Unordered Item 2
- Subitem A
- Subitem B
- Ordered Item 1
- Ordered Item 2
- Ordered Item 3
- Unordered Item 1
- Unordered Item 2
- Subitem A
- Subitem B
1. Ordered Item 1
2. Ordered Item 2
3. Ordered Item 3
Code
Inline code can be surrounded by backticks, and code blocks can be created using triple backticks.
print("Hello, World!")
def greet():
print("Hello, World!")
`print("Hello, World!")`
```python
def greet():
print("Hello, World!")
```
Tables
Tables can be created using vertical bars (|
) to separate columns and hyphens (-
) to define the header and separate it from the content.
Column 1 | Column 2 |
---|---|
Cell 1 | Cell 2 |
Cell 3 | Cell 4 |
| Column 1 | Column 2 |
|----------|----------|
| Cell 1 | Cell 2 |
| Cell 3 | Cell 4 |
Links
You can create links by enclosing the link text in square brackets [ ]
and the URL in parentheses ( )
.
[OpenAI Website](https://openai.com/)
Images
Images can be included using a similar syntax to links, but with an exclamation mark !
in front.


Footnotes
You can add footnotes using a caret ^
followed by the footnote text in square brackets.
Here is a footnote1.
Here is a footnote[^1].
[^1]: This is the footnote text.
Adding CSS Classes to Elements
You can add CSS classes to elements using {}
For Example:

{.small .center}
Conclusion
Markdown is a versatile and easy-to-use markup language that allows you to create well-formatted documents with minimal effort. With the elements covered in this tutorial, you'll be well-equipped to create a wide range of content using Markdown.
Experiment with different Markdown elements to see what works best for your needs!
This is the footnote text. ↩