markdown/background_image/parse

(require("markdown/background_image/parse"))(md)

Marpit background image parse plugin.

Parse Marpit's image token and mark as background image when the alternate text includes bg. The marked images will not show as the regular image.

Furthermore, it parses additional keywords needed for background image.

Source:
Parameters:
Name Type Description
md MarkdownIt

markdown-it instance.