toc
This commit is contained in:
1 parent
3a29f4c86e
commit
b8c011410d
21 files changed
+233
-66
No files matched your search
+1
-1
@@ -1,7 +1,7 @@
|
||||
import path from 'path'
|
||||
import SlugAnchor from 'github-slugger'
|
||||
|
||||
const slugAnchor = new SlugAnchor()
|
||||
export const slugAnchor = new SlugAnchor()
|
||||
|
||||
function slugSegment(s: string): string {
|
||||
return s.replace(/\s/g, '-')
|
||||
|
||||
Reference in new issue
Block a user