mirror of
https://github.com/jackyzha0/quartz.git
synced 2026-02-03 22:15:42 -06:00
chore: prettier formatting
Run Prettier with --write to fix.
This commit is contained in:
parent
ee18141d1d
commit
043161b4a1
@ -165,7 +165,7 @@ export const ObsidianFlavoredMarkdown: QuartzTransformerPlugin<Partial<Options>>
|
||||
const codeblockRegex = /```[\s\S]*?```|`[^`\n]+`/
|
||||
const codeblockOrCommentRegex = new RegExp(
|
||||
`(${codeblockRegex.source})|${commentRegex.source}`,
|
||||
"g"
|
||||
"g",
|
||||
)
|
||||
src = src.replace(codeblockOrCommentRegex, (_match, codeblock) => codeblock ?? "")
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user