# myst-directives

> Default directive definitions for MyST

Latest version **1.7.5** (published 2026-10-26) · MIT license · 0 weekly downloads

## Install

```sh
npm install myst-directives
pnpm add myst-directives
yarn add myst-directives
bun add myst-directives
```

## Health

**Score 75/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; has provenance; recently updated; high maintenance score; high quality score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 1.7.5 |
| Published | 2026-10-26 |
| First published | 2023-02-15 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM |
| Dependencies | 10 |
| Unpacked size | 76 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 533 |
| Author | Franklin Koch |
| Maintainers | rowanc1, stevejpurves, ebp-bot |

## Links

- npm: https://www.npmjs.com/package/myst-directives
- Repository: https://github.com/jupyter-book/mystmd
- Homepage: https://github.com/jupyter-book/mystmd/tree/main/packages/myst-directives
- Issues: https://github.com/jupyter-book/mystmd/issues
- npm.io page: https://npm.io/package/myst-directives

## Dependencies (10)

- [json5](https://npm.io/package/json5.md) ^1.0.2
- [vfile](https://npm.io/package/vfile.md) ^5.3.7
- [nanoid](https://npm.io/package/nanoid.md) ^5.1.6
- [js-yaml](https://npm.io/package/js-yaml.md) ^4.1.0
- [csv-parse](https://npm.io/package/csv-parse.md) ^5.5.5
- [myst-spec](https://npm.io/package/myst-spec.md) ^0.0.6
- [classnames](https://npm.io/package/classnames.md) ^2.3.2
- [myst-common](https://npm.io/package/myst-common.md) ^1.10.2
- [myst-spec-ext](https://npm.io/package/myst-spec-ext.md) ^1.10.2
- [unist-util-select](https://npm.io/package/unist-util-select.md) ^4.0.3

## Recent versions

- 1.7.5 (latest) — 2026-10-26
- 1.7.4 — 2026-09-21
- 1.7.3 — 2026-06-04
- 1.7.2 — 2026-05-01
- 1.7.1 — 2026-04-01
- 1.7.0 — 2026-03-03
- 1.6.5 — 2026-02-13
- 1.6.4 — 2026-01-21
- 1.6.3 — 2025-12-04
- 1.6.2 — 2025-12-01
- 1.6.1 — 2025-11-18
- 1.6.0 — 2025-11-03
- 1.5.17 — 2025-10-10
- 1.5.16 — 2025-09-08
- 1.5.15 — 2025-07-05
- … 68 more at https://npm.io/package/myst-directives/versions

## README

# myst-directives

Default directive definitions for MyST parser.

## Directives

These directives are ported from `markdown-it-docutils`:

- `admonitions`
- `code` / `code-block`
- `math`
- `image`
- `list-table`
- `figure`

---
_Source: https://npm.io/package/myst-directives · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
