From ab202bd24cbb1e0dfe55f2173d3b7e483e747e74 Mon Sep 17 00:00:00 2001 From: Arve Seljebu Date: Sun, 29 Nov 2015 18:27:52 +0100 Subject: [PATCH] Document configuration of linkify-it in README --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index fd3a590..6121fde 100644 --- a/README.md +++ b/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 documentation](https://markdown-it.github.io/markdown-it/)__