Methods

(inner) parse(md)

Marpit style parse plugin.

Parse <style> elements as the hidden marpit_style token. The parsed style will use in ThemeSet#pack to append the style additionally.

<style> elements will strip regardless of html setting provided by markdown-it.

Parameters:
NameTypeDescription
mdMarkdownIt

markdown-it instance.