---
title: "Markdown formatting in mdfy"
url: https://mdfy.app/mdfy-ex-fmt
updated: 2026-05-12T07:46:28.470Z
source: "mdfy.app"
---
# Markdown formatting in mdfy

mdfy renders standard GitHub-flavored Markdown plus a few extras worth knowing about.

## Inline

Regular text, **bold**, *italic*, ***bold italic***, ~~strikethrough~~, and `inline code`.

Links work the usual way: [mdfy.app](https://mdfy.app). Footnotes too[^1].

[^1]: Like this one.

## Lists

- Bullets nest:
  - Second level
    - Third level
- And tasks toggle inline (click the checkbox in Live mode):
  - [x] Done
  - [ ] Open

## Tables

| Doc | Bundle | Hub |
|:----|:------:|----:|
| One URL | Many docs in one URL | All docs in one URL |
| `/abc123` | `/b/abc123` | `/hub/<you>` |

## Code

```typescript
const res = await fetch("https://mdfy.app/api/docs", {
  method: "POST",
  body: JSON.stringify({ markdown: "# Hello" }),
});
const { id } = await res.json();
// → https://mdfy.app/<id>
```

## Math

Inline KaTeX: $E = mc^2$.

Display block:

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

That covers what most docs need. Diagrams get their own page in this bundle.
