# @unified-myst/role-extension

> Extension to support the MyST role syntax (``{name}`content` ``) in unified

Latest version **0.0.4** (published 2022-04-06) · MIT license · 0 weekly downloads

## Install

```sh
npm install @unified-myst/role-extension
pnpm add @unified-myst/role-extension
yarn add @unified-myst/role-extension
bun add @unified-myst/role-extension
```

## Health

**Score 30/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.4 |
| Published | 2022-04-06 |
| First published | 2022-03-30 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM |
| Dependencies | 1 |
| Unpacked size | 41.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 6 |
| Author | Chris Sewell |
| Maintainers | chrisjsewell |
| Keywords | myst, unified, mdast, micromark |

## Links

- npm: https://www.npmjs.com/package/@unified-myst/role-extension
- Repository: https://github.com/executablebooks/unified-myst
- Homepage: https://github.com/executablebooks/unified-myst/tree/main/packages/role-extension#readme
- Issues: https://github.com/executablebooks/unified-myst/issues
- npm.io page: https://npm.io/package/@unified-myst/role-extension

## Dependencies (1)

- [micromark-core-commonmark](https://npm.io/package/micromark-core-commonmark.md) ^1.0.6

## Alternatives

- [@mdxeditor/editor](https://npm.io/package/@mdxeditor/editor.md) — 962.4K weekly downloads
- [mmdb-lib](https://npm.io/package/mmdb-lib.md) — 680.9K weekly downloads
- [playcanvas](https://npm.io/package/playcanvas.md) — 36.2K weekly downloads
- [@glw907/cairn-cms](https://npm.io/package/@glw907/cairn-cms.md) — 967 weekly downloads
- [markdown-to-confluence](https://npm.io/package/markdown-to-confluence.md) — 103 weekly downloads

## Recent versions

- 0.0.4 (latest) — 2022-04-06
- 0.0.3 — 2022-03-31
- 0.0.2 — 2022-03-30
- 0.0.1 — 2022-03-30

## README

# `@unified-myst/role-extension`

Extension to support the MyST role syntax (``{name}`content` ``) in [unified](https://unifiedjs.com/).

A MyST role consists of a name, followed by a content string.
The content string is interpreted according to the name, and can be thought of as an inline extension point for Markdown, similar to a function call:

```javascript
function name(content) {return ast}
```

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