documents/marp/node_modules/@marp-team/marpit/lib/markdown/background_image.js
/**
 * Marpit background image plugin.
 *
 * Convert image token to backgrounds when the alternate text includes `bg`.
 *
 * When Marpit `inlineSVG` option is `false`, the image will convert to
 * `backgroundImage` and `backgroundSize` spot directive. It supports only
 * single background and resizing by using CSS.
 *
 * When `inlineSVG` option is true, the plugin enables advanced background mode.
 * In addition to the basic background implementation, it supports multiple
 * background images, filters, and split background.
 *
 * @alias module:markdown/background_image
 * @param {MarkdownIt} md markdown-it instance.
 */
Marpit background image plugin.
Convert image token to backgrounds when the alternate text includes `bg`.



When `inlineSVG` option is true, the plugin enables advanced background mode.
In addition to the basic background implementation, it supports multiple
background images, filters, and split background.

@alias module:markdown/background_image
@param {MarkdownIt} md markdown-it instance.
Marpit background image plugin . Convert image token to backgrounds when the alternate text includes ` bg ` . When ` inlineSVG ` option is true the plugin enables advanced background mode . In addition to the basic background implementation it supports multiple background images filters and split background . @alias module : markdown / background_image @param { MarkdownIt } md markdown - it instance .
function backgroundImage(md) {
  (0, _parse.default)(md);
  (0, _apply.default)(md);
  (0, _advanced.default)(md);
}
function backgroundImage ( md ) { ( 0 , _parse . default ) ( md ) ; ( 0 , _apply . default ) ( md ) ; ( 0 , _advanced . default ) ( md ) ; }
Marpit background image plugin.
Marpit background image plugin .