Browse Source

Merge pull request #178 from arve0/patch-1

Document configuration of linkify-it in README
pull/180/head
Vitaly Puzrin 9 years ago
parent
commit
1da936927a
  1. 10
      README.md

10
README.md

@ -159,6 +159,16 @@ var md = require('markdown-it')({
``` ```
### Linkify
`linkify: true` uses [linkify-it](https://github.com/markdown-it/linkify-it). To
configure linkify-it, access the linkify instance through `md.linkify`:
```js
md.linkify.tlds('.py', false); // disables .py as top level domain
```
## API ## API
__[API documentation](https://markdown-it.github.io/markdown-it/)__ __[API documentation](https://markdown-it.github.io/markdown-it/)__

Loading…
Cancel
Save