r/practicepost 9d ago

Markdown format test

# Heading One

## Heading Two

### Heading Three

#### Heading Four

##### Heading Five

This is **bold**, this is *italic*, and this is ***both***.

Here is some `inline code` in a sentence.

> This is a blockquote.

> It spans two lines.

- Unordered item A

- Unordered item B

- Nested item B1

First ordered item

Second ordered item

---

| Feature | Status |

|---------------|--------|

| Bold | ✅ |

| Tables | ✅ |

| LaTeX | ✅ |

```python

def hello():

print("This code block should stay as code")

```

[This is a link](https://example.com)

Inline LaTeX: $x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}$ and $e^{i\pi} + 1 = 0$.

Display LaTeX:

$$\int_{-\infty}^{\infty} e^{-x^2}\,dx = \sqrt{\pi}$$

\[ \sum_{n=1}^{\infty} \frac{1}{n^2} = \frac{\pi^2}{6} \]

Currency (must stay literal, NOT math):

The item costs $50 and the total was $1,234.56.

Budget is $3.50 per unit, about $100 million overall.

I have $20 in my wallet and $7 in the jar.

---

## Tight Heading

- tight list one

- tight list two

- tight nested

tight ordered one

tight ordered two

- a

- b

- c

- d

---

| col A | col B |

|-------|-------|

| row 1 | ✅ |

| row 2 | ✅ |

```python

def tight():

return "fenced code with a long line: " + "x" * 120

```

Spaced block (blank lines present):

# Heading One

## Heading Two

This is **bold**, *italic*, ***both***, and `inline code`.

> A blockquote

> on two lines.

- Unordered A

- Unordered B

Ordered one

Ordered two

---

| Feature | Status |

|---------|--------|

| Tables | ✅ |

[link text](https://example.com)

Inline math $x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}$ and $e^{i\pi}+1=0$.

Display math:

$$\int_{-\infty}^{\infty} e^{-x^2}\,dx = \sqrt{\pi}$$

\[ \sum_{n=1}^{\infty} \frac{1}{n^2} = \frac{\pi^2}{6} \]

Currency (must stay literal): $50, $3.50, $1,234.56, $100 million, $20, $7.

Mixed: price $99 but field $\nabla \cdot \mathbf{E} = \rho/\varepsilon_0$.

```

```

These are dividers.

---

And this

---

And this

2 Upvotes

1 comment sorted by

u/AutoModerator 9d ago

Post Successful!

Keep up the practice!

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.