PresetName: "default" | "zero" | "commonmark"

MarkdownIt provides named presets as a convenience to quickly enable/disable active syntax rules and options for common use cases.

  • "commonmark" - configures parser to strict CommonMark mode.
  • default - similar to GFM, used when no preset name given. Enables all available rules, but still without html, typographer & autolinker.
  • "zero" - all rules disabled. Useful to quickly setup your config via .enable(). For example, when you need only bold and italic markup and nothing else.

Generated using TypeDoc