Skip to content

Commit 040b6ae

Browse files
committed
expose utils via toc.utils
resolve #92
1 parent 9312cdc commit 040b6ae

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,7 @@ function strip(str, opts) {
243243
* Expose utils
244244
*/
245245

246+
toc.utils = utils;
246247
toc.bullets = bullets;
247248
toc.linkify = linkify;
248249
toc.slugify = utils.slugify;

0 commit comments

Comments
 (0)