Skip to content

Commit 9e68914

Browse files
authored
Merge pull request #93 from bcho/feat/export-utils
expose utils via `toc.utils`
2 parents 502b527 + 040b6ae commit 9e68914

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
@@ -246,6 +246,7 @@ function strip(str, opts) {
246246
* Expose utils
247247
*/
248248

249+
toc.utils = utils;
249250
toc.bullets = bullets;
250251
toc.linkify = linkify;
251252
toc.slugify = utils.slugify;

0 commit comments

Comments
 (0)