Expand description
const default: typeof MarkdownIt & (
...args:
| []
| [options: MarkdownItOptions]
| [
presetName: "default"
| "zero"
| "commonmark",
options?: MarkdownItOptions,
],
) => MarkdownIt = ...
Default package export.
For backward compatibility, the MarkdownIt class is wrapped so legacy code can call it without
new. New code should instantiate it as a regular class withnew. The compatibility wrapper may be removed in a future release.