Browse Source

Merge pull request #82 from andrey-p/small-docs-fix

Small fix in ruler documentation example
pull/87/head
Vitaly Puzrin 10 years ago
parent
commit
d453b40b39
  1. 2
      lib/ruler.js

2
lib/ruler.js

@ -225,7 +225,7 @@ Ruler.prototype.after = function (afterName, ruleName, fn, options) {
* ```javascript * ```javascript
* var md = require('markdown-it')(); * var md = require('markdown-it')();
* *
* md.core.ruler.push('emphasis', 'my_rule', function replace(state) { * md.core.ruler.push('my_rule', function replace(state) {
* //... * //...
* }); * });
* ``` * ```

Loading…
Cancel
Save