flag to allow ofm replace in html embed

This commit is contained in:
Jacky Zhao committed 2023-08-01 22:47:16 -07:00
1 parent cc79502670
commit a70e846b0a
8 files changed
+124 -7

No files matched your search

+1
View File
@@ -47,6 +47,7 @@ export const CrawlLinks: QuartzTransformerPlugin<Partial<Options> | undefined> =
return targetCanonical === fileName
})
// only match, just use it
if (matchingFileNames.length === 1) {
const targetSlug = canonicalizeServer(matchingFileNames[0])
return (resolveRelative(curSlug, targetSlug) + targetAnchor) as RelativeURL