Skip to content

Commit 4925169

Browse files
committedSep 8, 2018
add example
1 parent 2063e42 commit 4925169

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
 

‎README.md

+4
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,10 @@ var markdown = turndownService.turndown(document.getElementById('content'))
4242

4343
Options can be passed in to the constructor on instantiation.
4444

45+
Example:
46+
47+
`var turndownService = new TurndownService({ option: 'value' });`
48+
4549
| Option | Valid values | Default |
4650
| :-------------------- | :------------ | :------ |
4751
| `headingStyle` | `setext` or `atx` | `setext` |

0 commit comments

Comments
 (0)