#
symbol. The number of #
symbols indicates the heading level. # Heading 1
## Heading 2
### Heading 3
#### Heading 4
##### Heading 5
###### Heading 6
# Heading 1 ## Heading 2 ### Heading 3 #### Heading 4 ##### Heading 5 ###### Heading 6
This is a paragraph.
This is another paragraph.
This is a paragraph.
This is another paragraph.
This is the first line.
This is the second line.
This is the first line.
This is the second line.
*
or underscores _
.*
or _
.**
or __
.***
or ___
. *Italic* or _Italic_
**Bold** or __Bold__
***Bold and Italic*** or ___Bold and Italic___
Italic or Italic
Bold or Bold
Bold and Italic or Bold and Italic
>
symbol. Blockquotes can be nested by adding additional >
symbols. > This is a blockquote.
>
> This is another line in the same blockquote.
This is a blockquote.
This is another line in the same blockquote.
> This is the first level of quoting.
>
>> This is nested blockquote.
This is the first level of quoting.
This is nested blockquote.
*
, plus +
, or minus -
.`
. This is useful for short snippets of code within a sentence. This is `inline code`.
This is inline code
.
```
or indenting with four spaces. This is useful for larger blocks of code. ```python
def hello_world():
print("Hello, World!")
```
def hello_world():
print("Hello, World!")
---
, asterisks ***
, or underscores ___
. They are useful for separating sections of content. ---
***
___
[This is a link](https://www.example.com)
[This is a link with a title](https://www.example.com "Example Title")
[This is a reference link][1]
[1]: https://www.example.com
<https://www.example.com>
![Alt text](https://www.example.com/image.jpg)
![Alt text with title](https://www.example.com/image.jpg "Image Title")
|
and hyphens -
to define the structure. Colons :
can be used to align columns. | Header 1 | Header 2 | Header 3 |
| -------- | :------: | -------: |
| Row 1 | Data 1 | Data 2 |
| Row 2 | Data 3 | Data 4 |
| Header 1 | Header 2 | Header 3 | | ——– | :——: | ——-: | | Row 1 | Data 1 | Data 2 | | Row 2 | Data 3 | Data 4 |
[^1]
. The footnote content is placed at the end of the document. This is a footnote reference[^1].
[^1]: This is the footnote.
This is a footnote reference1.
~~
. This is useful for indicating deleted text or completed tasks. ~~This is strikethrough text~~
This is strikethrough text
[x]
indicates a completed task, and an unchecked box [ ]
indicates a pending task.This tutorial covered the basics of Markdown, including document structure, common elements, links, images, tables, and advanced features. Markdown is a powerful and easy-to-learn language for writing formatted text. Practice using Markdown to enhance your documentation, blog posts, and other writing. Happy writing!
This is the footnote. ↩