Jacky Zhao
2023-06-01 fcd81353f88b613e5e93c089e10e530d08695b3f
quartz/plugins/transformers/ofm.ts
@@ -42,9 +42,9 @@
            } else {
              const [path, rawHeader, rawAlias] = capture
              const header = rawHeader?.slice(1).trim() ?? ""
              const anchor = rawHeader?.slice(1).trim() ?? ""
              const alias = rawAlias?.slice(1).trim() ?? path
              const url = slugify(path.trim() + header)
              const url = slugify(path.trim() + anchor)
              return {
                type: 'link',
                url,