Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Get started

Reference the released plugin bundle directly from GitHub in your myst.yml. This pulls the bundle attached to the latest release, so MyST loads it without a build or install step:

project:
  plugins:
    - https://github.com/myst-contrib/myst-listing/releases/latest/download/plugin.mjs

To pin a specific version, swap latest/download for a tag, e.g. download/v0.1.0.

Alternatively, clone this repository, build the bundle with bun run build (it ends up in dist/plugin.mjs), and reference it from a local path:

project:
  plugins:
    - path/to/plugin.mjs

Then collect a folder of pages and display them. This shows the pages in posts/ as a table, newest first. By default a listing shows at most 10 items.

```{listing}
:path: posts/*.md
:columns: title,date
```

Here’s what that looks like:

:::{listing}
:path: posts/*.md
:columns: title,date
:::

TitleDate
Community roundupJune 5, 2025
Your first listingMay 15, 2025
Interactive widgetsApril 10, 2025
Zebra release notesMarch 1, 2025
A February updateFebruary 1, 2025
Hello worldJanuary 1, 2025
The first prototypeNovember 20, 2024

Each page’s title comes from its title frontmatter, or its first heading if there isn’t one. Give each page a date in its frontmatter so the newest ones come first.

Next steps