@unified-myst/comment-extension
TypeScript icon, indicating that this package has built-in type declarations

0.0.6 • Public • Published

@unified-myst/comment-extension

Extension to support the MyST comment syntax (% comment string) in unified.

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:

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

Package Sidebar

Install

npm i @unified-myst/comment-extension

Weekly Downloads

0

Version

0.0.6

License

MIT

Unpacked Size

32.7 kB

Total Files

20

Last publish

Collaborators

  • ebp-bot
  • chrisjsewell