Skip to content

Commit 461e594

Browse files
authored
Merge pull request markedjs#1312 from hail2u/patch-2
Add undocumented option descriptions
2 parents 285a04d + 49294ba commit 461e594

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/USING_ADVANCED.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,12 @@ console.log(myMarked('I am using __markdown__.'));
4848
|headerPrefix|`string` |`''` |??? |A string to prefix the `id` attribute when emitting headings (h1, h2, h3, etc).|
4949
|highlight |`function`|`null` |??? |A function to highlight code blocks, see <a href="#highlight">Asynchronous highlighting</a>.|
5050
|langPrefix |`string` |`'language-'`|??? |A string to prefix the className in a `<code>` block. Useful for syntax highlighting.|
51-
|mangle |`boolean` |`true` |??? |??? |
51+
|mangle |`boolean` |`true` |??? |If true, autolinked email address is escaped with HTML character references.|
5252
|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`.|
5353
|renderer |`object` |`new Renderer()`|???|An object containing functions to render tokens to HTML. See [extensibility](USING_PRO.md) for more details.|
5454
|sanitize |`boolean` |`false` |??? |If true, sanitize the HTML passed into `markdownString` with the `sanitizer` function.|
5555
|sanitizer |`function`|`null` |??? |A function to sanitize the HTML passed into `markdownString`.|
56-
|silent |`boolean` |`false` |??? |??? |
56+
|silent |`boolean` |`false` |??? |If true, the parser does not throw any exception.|
5757
|smartLists |`boolean` |`false` |??? |If true, use smarter list behavior than those found in `markdown.pl`.|
5858
|smartypants |`boolean` |`false` |??? |If true, use "smart" typographic punctuation for things like quotes and dashes.|
5959
|tables |`boolean` |`true` |??? |If true and `gfm` is true, use [GFM Tables extension](https://github.github.com/gfm/#tables-extension-).|

0 commit comments

Comments
 (0)