(inner) backgroundImage(md)

Marpit background image plugin.

Convert image token to backgrounds when the alternate text includes bg.

When Marpit inline SVG mode is disabled, the image will convert to backgroundImage and backgroundSize spot directive. It supports only single background and resizing by using CSS.

When inline SVG mode is enabled, the plugin enables advanced background mode. In addition to the basic background implementation, it supports multiple background images, filters, and split background.

Name Type Description
md MarkdownIt

markdown-it instance.