ngx-markdown-it
Version:
An Angular library that renders markdown using [markdown-it](https://github.com/markdown-it/markdown-it).
16 lines (15 loc) • 447 B
TypeScript
import * as MarkdownIt from "markdown-it";
export declare class NgxMarkdownItConfig {
/**
* Syntax rules and options for common use cases:
*
* - default - similar to GFM, used when no preset name given.
* - "commonmark" - configures parser to strict CommonMark mode.
* - "zero" - all rules disabled.
*/
presetName?: MarkdownIt.PresetName;
/**
* Plugins to apply.
*/
plugins?: any[];
}