You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|baseUrl |`string`|`null`|0.3.9|A prefix url for any relative link. |
45
+
|breaks |`boolean`|`false`|v0.2.7|If true, add `<br>` on a single line break (copies GitHub). Requires `gfm` be `true`.|
46
+
|gfm |`boolean`|`true`|v0.2.1|If true, use approved [GitHub Flavored Markdown (GFM) specification](https://github.github.com/gfm/).|
47
47
|headerIds |`boolean`|`true`|v0.4.0 |If true, include an `id` attribute when emitting headings (h1, h2, h3, etc).|
48
-
|headerPrefix|`string`|`''`|??? |A string to prefix the `id` attribute when emitting headings (h1, h2, h3, etc).|
49
-
|highlight |`function`|`null`|??? |A function to highlight code blocks, see <ahref="#highlight">Asynchronous highlighting</a>.|
50
-
|langPrefix |`string`|`'language-'`|??? |A string to prefix the className in a `<code>` block. Useful for syntax highlighting.|
51
-
|mangle |`boolean`|`true`|??? |If true, autolinked email address is escaped with HTML character references.|
52
-
|pedantic |`boolean`|`false`|??? |If true, conform to the original `markdown.pl` as much as possible. Don't fix original markdown bugs or behavior. Turns off and overrides `gfm`.|
53
-
|renderer |`object`|`new Renderer()`|???|An object containing functions to render tokens to HTML. See [extensibility](USING_PRO.md) for more details.|
54
-
|sanitize |`boolean`|`false`|??? |If true, sanitize the HTML passed into `markdownString` with the `sanitizer` function.|
55
-
|sanitizer |`function`|`null`|??? |A function to sanitize the HTML passed into `markdownString`.|
56
-
|silent |`boolean`|`false`|??? |If true, the parser does not throw any exception.|
57
-
|smartLists |`boolean`|`false`|??? |If true, use smarter list behavior than those found in `markdown.pl`.|
58
-
|smartypants |`boolean`|`false`|??? |If true, use "smart" typographic punctuation for things like quotes and dashes.|
59
-
|tables |`boolean`|`true`|??? |If true and `gfm` is true, use [GFM Tables extension](https://github.github.com/gfm/#tables-extension-).|
60
-
|xhtml |`boolean`|`false`|??? |If true, emit self-closing HTML tags for void elements (<br/>, <img/>, etc.) with a "/" as required by XHTML.|
48
+
|headerPrefix|`string`|`''`|v0.3.0|A string to prefix the `id` attribute when emitting headings (h1, h2, h3, etc).|
49
+
|highlight |`function`|`null`|v0.3.0|A function to highlight code blocks, see <ahref="#highlight">Asynchronous highlighting</a>.|
50
+
|langPrefix |`string`|`'language-'`|v0.3.0|A string to prefix the className in a `<code>` block. Useful for syntax highlighting.|
51
+
|mangle |`boolean`|`true`|v0.3.4|If true, autolinked email address is escaped with HTML character references.|
52
+
|pedantic |`boolean`|`false`|v0.2.1|If true, conform to the original `markdown.pl` as much as possible. Don't fix original markdown bugs or behavior. Turns off and overrides `gfm`.|
53
+
|renderer |`object`|`new Renderer()`|v0.3.0|An object containing functions to render tokens to HTML. See [extensibility](USING_PRO.md) for more details.|
54
+
|sanitize |`boolean`|`false`|v0.2.1|If true, sanitize the HTML passed into `markdownString` with the `sanitizer` function.|
55
+
|sanitizer |`function`|`null`|v0.3.4|A function to sanitize the HTML passed into `markdownString`.|
56
+
|silent |`boolean`|`false`|v0.2.7|If true, the parser does not throw any exception.|
57
+
|smartLists |`boolean`|`false`|v0.2.8|If true, use smarter list behavior than those found in `markdown.pl`.|
58
+
|smartypants |`boolean`|`false`|v0.2.9|If true, use "smart" typographic punctuation for things like quotes and dashes.|
59
+
|tables |`boolean`|`true`|v0.2.7|If true and `gfm` is true, use [GFM Tables extension](https://github.github.com/gfm/#tables-extension-).|
60
+
|xhtml |`boolean`|`false`|v0.3.2|If true, emit self-closing HTML tags for void elements (<br/>, <img/>, etc.) with a "/" as required by XHTML.|
0 commit comments