Skip to content

Commit

Permalink
Merge pull request jonschlinkert#93 from bcho/feat/export-utils
Browse files Browse the repository at this point in the history
expose utils via `toc.utils`
  • Loading branch information
doowb authored Dec 20, 2017
2 parents 502b527 + 040b6ae commit 9e68914
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,7 @@ function strip(str, opts) {
* Expose utils
*/

toc.utils = utils;
toc.bullets = bullets;
toc.linkify = linkify;
toc.slugify = utils.slugify;
Expand Down

0 comments on commit 9e68914

Please sign in to comment.