Interface: ParserOptions
Defined in: parser/parser.ts:10
Extended by
Properties
html?
optional html: boolean;Defined in: parser/parser.ts:17
Set true to enable HTML tags in source. Be careful! That's not safe! You may need external sanitizer to protect output from XSS. It's better to extend features via plugins, instead of enabling HTML.
Default
falselinkify?
optional linkify: boolean;Defined in: parser/parser.ts:23
Set true to autoconvert URL-like text to links.
Default
falsemaxNesting?
optional maxNesting: number;Defined in: parser/parser.ts:44
Internal protection, recursion limit
quotes?
optional quotes: string | string[];Defined in: parser/parser.ts:39
Double + single quotes replacement pairs, when typographer enabled and smartquotes on. For example, you can use '«»„“' for Russian, '„“‚‘' for German, and ['«\xA0', '\xA0»', '‹\xA0', '\xA0›'] for French (including nbsp).
Default
'“”‘’'typographer?
optional typographer: boolean;Defined in: parser/parser.ts:30
Set true to enable some language-neutral replacement + quotes beautification (smartquotes).
Default
false