Skip to content

Commit

Permalink
add plugin before linkify
Browse files Browse the repository at this point in the history
plugin markdown-it-implicit-figures is added before linkify,
so to assure that attrs plugin is added before implicit-figures
.use() attrs first, then implicit-figures:

md.use(attrs).use(implicitFigures)

ref: arve0/markdown-it-implicit-figures#18
  • Loading branch information
arve0 committed May 19, 2017
1 parent 5ba7f8a commit 75b8d32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ module.exports = function attributes(md) {

}
}
md.core.ruler.before('replacements', 'curly_attributes', curlyAttrs);
md.core.ruler.before('linkify', 'curly_attributes', curlyAttrs);
};

/**
Expand Down

0 comments on commit 75b8d32

Please sign in to comment.