Methods

(inner) parse(md, optsopt)

Parse Marpit directives and store result to the slide token meta.

Marpit comment plugin ans slide plugin requires already loaded to markdown-it instance.

Parameters:
NameTypeAttributesDescription
mdMarkdownIt

markdown-it instance.

optsObject<optional>
Properties
NameTypeAttributesDefaultDescription
frontMatterboolean<optional>
true

Switch feature to support YAML front-matter. If true, you can use Jekyll style directive setting to the first page.