1
0
mirror of https://gitlab.com/MisterBiggs/brain-quartz.git synced 2025-07-25 15:51:34 +00:00
This commit is contained in:
Jacky Zhao
2023-06-09 23:06:02 -07:00
parent 3a29f4c86e
commit b8c011410d
21 changed files with 233 additions and 66 deletions

View File

@@ -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, '-')