markdown/background_image/apply

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

Marpit background image apply plugin.

Apply parsed meta for background image / color into directives of each page.

When inline SVG is enabled, it will reshape meta for advanced process instead of converting to directives.

Source:
Parameters:
Name Type Description
md MarkdownIt

markdown-it instance.