markdown/background_image/apply

Methods

(inner) backgroundImageApply(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.