Normal paragraph with bold text, italic text, and strikethrough text.
Link to example.com.
Normal image:
Image in a link:
This is a blockquote. Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Inline code: console.log('Hello World');
JavaScript code block:
function greet(name) {
return `Hello, ${name}!`;
}
const message = greet('World');
console.log(message);
Python code block:
def greet(name):
return f"Hello, {name}!"
message = greet("World")
print(message)
HTML code block:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
</head>
<body>
<h1>Hello World</h1>
</body>
</html>
CSS code block:
body {
font-family: Arial, sans-serif;
line-height: 1.6;
color: #333;
}
.container {
max-width: 800px;
margin: 0 auto;
padding: 20px;
}
JSON code block:
{
"name": "John Doe",
"age": 30,
"city": "New York",
"hobbies": ["reading", "traveling", "photography"]
}
Table:
| Name | Age | City |
|---|---|---|
| John | 25 | New York |
| Jane | 30 | Chicago |
| Bob | 22 | Los Angeles |
Horizontal rule above.