mirror of
https://github.com/ZetaKebab/quartz.git
synced 2025-06-22 08:44:36 +00:00
toc
This commit is contained in:
@ -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