# Sample Markdown files for testing parsers, free and CC0

3 Markdown test files from 920 B to 24.4 KB. Direct URLs, a SHA-256 for each and CC0, so curl and CI can fetch them with no signup and no keys.

The page: <https://loremfile.dev/md>.

This is a Markdown test file that uses every common element, free to hotlink or download.

| Path | Size | MIME | Properties |
|---|---|---|---|
| [`md/all-elements.md`](https://loremfile.dev/md/all-elements.md) | 920 B | `text/markdown; charset=utf-8` | utf-8, LF, 50 lines |

`md/all-elements.md` has headings, emphasis, ordered and nested lists, a table, fenced code
blocks with languages, a blockquote, a link, an image, a footnote and a raw HTML block.
Markdown is plain text with lightweight formatting, and every renderer treats its corners a
little differently.

`md/readme-style.md` is a README-shaped document of exactly 4,096 bytes, the kind of file
every source repository has at its root. 4,096 bytes is a common buffer and memory page
size, so the file lands exactly on a boundary that exposes off-by-one mistakes in code that
reads text in fixed chunks.

`md/long-with-toc-and-footnotes.md` is a long document whose contents list links every
section heading by anchor, with numbered footnotes at the end. Every link and footnote
resolves, so a renderer or converter that drops one shows the failure.

Use them to test Markdown rendering in editors and previews, static site generators, search
indexers, and upload forms that accept `.md` files. They are UTF-8 with LF line endings and
are served as `text/markdown`, so they also check how a client handles that MIME type when it
does not recognise it. Related formats: [text files](https://loremfile.dev/txt).

## Files

| Path | Size | MIME | Properties |
|---|---|---|---|
| [`md/all-elements.md`](https://loremfile.dev/md/all-elements.md) | 920 B | `text/markdown; charset=utf-8` | utf-8, LF, 50 lines |
| [`md/long-with-toc-and-footnotes.md`](https://loremfile.dev/md/long-with-toc-and-footnotes.md) | 24.4 KB (24,433 bytes) | `text/markdown; charset=utf-8` | utf-8, LF, 162 lines |
| [`md/readme-style.md`](https://loremfile.dev/md/readme-style.md) | 4.1 KB (4,096 bytes) | `text/markdown; charset=utf-8` | utf-8, LF, 19 lines |

The same list as JSON: <https://loremfile.dev/md/index.json>.
