markdown/style/parse

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.

Source:
Parameters:
Name Type Description
md MarkdownIt

markdown-it instance.