markdown/comment

Source: comment.js:2


Instance Methods

comment(md: MarkdownIt)

Marpit comment plugin.

Parse HTML comment as token. Comments will strip regardless of html setting provided by markdown-it.

Parameters

  • md (MarkdownIt) — markdown-it instance.