toc
Jacky Zhao
2023-06-10 b8c011410d6bcd6837f4efd6a3948196a0f7aeea
quartz/path.ts
@@ -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, '-')