Markdown Syntax

Markdown is a lightweight markup language with plain-text formatting syntax. It is widely used for formatting text on the web. Here are the basic elements of Markdown

July 2, 2024 (6mo ago)

Headers

# Header 1
 
## Header 2
 
### Header 3
 
#### Header 4
 
##### Header 5
 
###### Header 6

Emphasis

_italic_ or _italic_
**bold** or **bold**
~~strikethrough~~

italic or italic bold or bold ~~strikethrough~~


Lists

Unordered List

- Item 1
- Item 2
  - Subitem A
  - Subitem B
  • Item 1
  • Item 2
    • Subitem A
    • Subitem B

Ordered List

1. First item
2. Second item
   1. Subitem I
   2. Subitem II
  1. First item
  2. Second item
    1. Subitem I
    2. Subitem II

Links

[Link text](URL)
[Link with title](URL "Title")

Link text Link with title


Images

![Alt text](image URL)

Alt text


Blockquotes

> This is a blockquote.
>
> - Anonymous

This is a blockquote.

  • Anonymous

Code

Inline Code

Use backticks (`) for inline code.

Use backticks () for inline code.

Code Block

\`\`\`python
def hello():
print("Hello, Markdown!")
\`\`\`

Horizontal Rule

---

Escaping Characters

\*literal asterisks\*

*literal asterisks*


HTML

You can also use HTML tags within Markdown for more complex formatting.

Miscellaneous

Tasks

- [x] Task 1
- [ ] Task 2
- [ ] Task 3
  • [ x ] Task 1
  • [ ] Task 2
  • [ ] Task 3

Strikethrough

~~strikethrough~~

~~strikethrough~~

Emoji

:smile: :rocket: :book:

:smile: :rocket: :book: