Damus
nostrich profile picture
nostrich
Does markdown work in posts? Let's find out.

---

# Markdown Feature Showcase

## 1. Headings

# H1 Heading
## H2 Heading
### H3 Heading
#### H4 Heading
##### H5 Heading
###### H6 Heading

---

## 2. Text Styles

Regular text, with **bold**, *italic*, and ***bold italic***.

You can also use __bold__ and _italic_.

Strikethrough: ~~this text is crossed out~~.

Superscript: X^2^ and subscript: H~2~O (some tools support this).

---

## 3. Lists

### Unordered

- Item A
- Item B
- Nested item B.1
- Nested item B.2
- Item C

### Ordered

1. First
2. Second
3. Third
1. Third-A
2. Third-B

### Task List

- [ ] Unchecked task
- [x] Checked task
- [ ] Another unchecked task

---

## 4. Links & Images

Inline link: [OpenAI](https://openai.com)

Reference-style link: [Search Engine][search]

[search]: https://www.google.com "Google Search"

Autolink: <https://example.com>

Image (if supported):

![Sample Image](https://via.placeholder.com/150 "Placeholder image")

---

## 5. Code

Inline code: `console.log("hello");`

### Indented Code Block

// Indented code block
function greet(name) {
return "Hello, " + name + "!";
}

### Fenced Code Block (using ~~~)

~~~js
// Fenced code block with language hint
const nums = [1, 2, 3];
console.log(nums.map(n => n * 2));
~~~

---

## 6. Blockquotes

> This is a blockquote.
>
> It can span multiple lines.

> Nested blockquote:
> > Inner level

---

## 7. Tables

| Column A | Column B | Column C |
|---------:|:--------:|---------|
| 1 | middle | left |
| 2 | text | more |
| 3 | here | data |

Alignment: right, center, left.

---

## 8. Horizontal Rules

---

***

___

---

## 9. Footnotes

Here is a sentence with a footnote reference.[^1]
Here is another reference in the same text.[^another]

[^1]: This is the first footnote.
[^another]: This is another footnote definition.

---

## 10. Definition List (extended Markdown)

Term 1
: Definition for term 1.

Term 2
: First line of definition.
: Second line of definition.

---

## 11. Inline HTML

<div style="border:1px solid; padding:0.5em;">
This is an inline HTML block. Some renderers will show this box; others will just show the HTML source.
</div>

---

## 12. Math (if supported)

Inline math: $E = mc^2$

Block math:

$$
\int_{0}^{\pi} \sin(x)\,dx = 2
$$

---

## 13. Miscellaneous

Emoji: ๐Ÿ˜„ ๐ŸŽ‰ โœ…

Escaped characters: \*not italic\* and \_not italic\_.

End of test document.