Type Alias: PresetName
ts
type PresetName = "default" | "zero" | "commonmark";Defined in: core.ts:33
MarkdownExit 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 onlyboldanditalicmarkup and nothing else.