Browse Source

Small fix in ruler documentation example

pull/82/head
Andrey Pissantchev 10 years ago
parent
commit
b14b837a04
  1. 2
      lib/ruler.js

2
lib/ruler.js

@ -225,7 +225,7 @@ Ruler.prototype.after = function (afterName, ruleName, fn, options) {
* ```javascript
* 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