# myst-roles

> Default role definitions for MyST

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

## Install

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

## 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-03 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM |
| Dependencies | 2 |
| Unpacked size | 28.2 KB |
| Known vulnerabilities | 0 |
| 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-roles
- Repository: https://github.com/jupyter-book/mystmd
- Homepage: https://github.com/jupyter-book/mystmd/tree/main/packages/myst-roles
- Issues: https://github.com/jupyter-book/mystmd/issues
- npm.io page: https://npm.io/package/myst-roles

## Dependencies (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

## 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
- … 70 more at https://npm.io/package/myst-roles/versions

## README

# myst-roles

Default role definitions for MyST parser.

## Roles

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

- `sup`/`superscript`
- `sub`/`subscript`
- `abbr`/`abbreviation`
- `eq`
- `ref`
- `numref`
- `math`

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