markdown/style/parse

Source: parse.js:2


Instance Methods

parse(md: MarkdownIt)

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

  • md (MarkdownIt) — markdown-it instance.