# @unified-myst/comment-extension

> Extension to support the MyST comment syntax (`% comment`) in unified

Latest version **0.0.6** (published 2022-03-30) · MIT license · 0 weekly downloads

## Install

```sh
npm install @unified-myst/comment-extension
pnpm add @unified-myst/comment-extension
yarn add @unified-myst/comment-extension
bun add @unified-myst/comment-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.6 |
| Published | 2022-03-30 |
| First published | 2022-03-28 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM |
| Dependencies | 2 |
| Unpacked size | 32 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/comment-extension
- Repository: https://github.com/executablebooks/unified-myst
- Homepage: https://github.com/executablebooks/unified-myst/tree/main/packages/comment-extension#readme
- Issues: https://github.com/executablebooks/unified-myst/issues
- npm.io page: https://npm.io/package/@unified-myst/comment-extension

## Dependencies (2)

- [micromark-factory-space](https://npm.io/package/micromark-factory-space.md) ^1.0.0
- [micromark-util-character](https://npm.io/package/micromark-util-character.md) ^1.1.0

## 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.6 (latest) — 2022-03-30
- 0.0.5 — 2022-03-29
- 0.0.4 — 2022-03-29
- 0.0.3 — 2022-03-28
- 0.0.2 — 2022-03-28

## README

# `@unified-myst/comment-extension`

Extension to support the MyST comment syntax (`% comment string`) in [unified](https://unifiedjs.com/).

Semantically, a comment is text that should be visible in the final rendering.

A comment is denoted by a line starting with the `%` character.
All characters after that string are considered to be the comment string.
For consecutive comment lines, their comment strings are joined together with the `\n` character, into a single comment.

For example:

```
% This is a comment.
% This is another comment.
```

is converted to the HTML:

```html
<!-- This is a comment.
 This is another comment. -->
```

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