markdown/directives/parse

(require("markdown/directives/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.

Source:
Parameters:
Name Type Attributes Description
md MarkdownIt

markdown-it instance.

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

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