Skip to content

Commit

Permalink
Add docs for langPrefix
Browse files Browse the repository at this point in the history
  • Loading branch information
styfle authored Apr 30, 2018
1 parent 29f3fa7 commit 3862e17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/USING_ADVANCED.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ console.log(myMarked('I am using __markdown__.'));
|headerIds |`boolean` |Whether to add an `id` attribute to headers. Default: `true`. Added in 0.4.0 |
|headerPrefix|`string` |A short string to add as a prefix to the `id` attributes added to headers by default. Default: `empty string` |
|highlight |`function`|A function to highlight code blocks. See also: <a href="#highlight">Asynchronous highlighting</a>. |
|langPrefix |`??` |Default is `lang-`
|langPrefix |`string` |A string to prefix the className in a `<code>` block. Useful for syntax highlighting. Default is `lang-`
|mangle |`boolean` |Default is `true`
|pedantic |`boolean` |Conform to obscure parts of `markdown.pl` as much as possible. Don't fix original markdown bugs or behavior. Turns off and overrides `gfm`. Default: `false`|
|renderer |`object` |An object containing functions to render tokens to HTML. See [extensibility](https://github.com/markedjs/marked/blob/master/docs/USING_PRO.md) for more details. Default: `new Renderer()`|
Expand Down

0 comments on commit 3862e17

Please sign in to comment.