markdown/parse_image

(require("markdown/parse_image"))(md, optsopt)

Marpit parse image plugin.

Parse image tokens and store the result into marpitImage meta. It has an image url and options. The alternative text is regarded as space-separated options.

Source:
Parameters:
Name Type Attributes Description
md MarkdownIt

markdown-it instance.

opts Object <optional>
Name Type Attributes Default Description
filters boolean <optional>
true

Switch feature to support CSS filters.