mirror of
https://github.com/alrayyes/wiki.git
synced 2025-06-06 21:56:39 +00:00
flag to allow ofm replace in html embed
This commit is contained in:
parent
cc79502670
commit
a70e846b0a
8 changed files with 124 additions and 7 deletions
quartz/plugins/transformers
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue