Markdown Examples

Markdown syntax with clickable links

Complete Markdown Document

A full markdown document with various elements:

# Main Heading

This is a paragraph with **bold text**, *italic text*, and `inline code`.

## Subheading

Here's a [link to example](https://example.com) and an ![image](image.png).

### Code Block

```javascript
const greeting = "Hello, World!";
console.log(greeting);
```

### Lists

- Unordered item 1
- Unordered item 2
  - Nested item

1. Ordered item 1
2. Ordered item 2

### Blockquote

> This is a quoted text.
> It can span multiple lines.

---

That's a horizontal rule above.

Headers

Different heading levels:

# Heading 1
## Heading 2
### Heading 3
#### Heading 4
##### Heading 5
###### Heading 6

Text Formatting

Bold, italic, and code:

**Bold with asterisks**
__Bold with underscores__

*Italic with asterisks*
_Italic with underscores_

`Inline code`

```
Code block
Multiple lines
```

Links and Images

Markdown link and image syntax (links are clickable!):

[Link text](https://example.com)
[Link with title](https://example.com "Title")

![Alt text](image.png)
![Image with title](image.png "Image Title")

Plain URLs are also clickable:
https://github.com/socketry/syntax-js
http://example.com/path?query=value