markdown/background_image/apply

Source: apply.js:2


Instance Methods

backgroundImageApply(md: MarkdownIt)

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.

Parameters

  • md (MarkdownIt) — markdown-it instance.