Kaan Kabalak
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
README.md
|
@ -227,7 +227,7 @@ By default all rules are enabled, but can be restricted by options. On plugin |
|
|
load all its rules are enabled automatically. |
|
|
load all its rules are enabled automatically. |
|
|
|
|
|
|
|
|
```js |
|
|
```js |
|
|
// Activate/deactivate rules, with curring |
|
|
// Activate/deactivate rules, with currying |
|
|
var md = require('markdown-it')() |
|
|
var md = require('markdown-it')() |
|
|
.disable([ 'link', 'image' ]) |
|
|
.disable([ 'link', 'image' ]) |
|
|
.enable([ 'link' ]) |
|
|
.enable([ 'link' ]) |
|
|