markdown/collect

(require("markdown/collect"))(md, marpit)

Marpit collect plugin.

Collect parsed tokens per slide and comments except marked as used for internally. These will store to lastSlideTokens and lastComments member of Marpit instance. It would use in the returned object from Marpit#render.

Source:
Parameters:
Name Type Description
md MarkdownIt

markdown-it instance.

marpit Marpit

Marpit instance.