You've already forked system-aspect
This commit is contained in:
2
.github/quartz/quartz.config.ts
vendored
2
.github/quartz/quartz.config.ts
vendored
@@ -51,7 +51,7 @@ const config: QuartzConfig = {
|
||||
Plugin.Comments(),
|
||||
Plugin.ObsidianFlavoredMarkdown({ enableInHtmlEmbed: false }),
|
||||
Plugin.GitHubFlavoredMarkdown(),
|
||||
Plugin.CrawlLinks({ markdownLinkResolution: "relative" }),
|
||||
Plugin.CrawlLinks({ markdownLinkResolution: "absolute" }),
|
||||
Plugin.Latex({ renderEngine: "katex" }),
|
||||
Plugin.Description(),
|
||||
],
|
||||
|
||||
@@ -4,7 +4,7 @@ import { Element, Root as HtmlRoot } from "hast"
|
||||
import { ReplaceFunction, findAndReplace as mdastFindReplace } from "mdast-util-find-and-replace"
|
||||
import { PluggableList } from "unified"
|
||||
|
||||
const commentRegex = new RegExp(/%%(.+)%%/, "g")
|
||||
const commentRegex = /%%(.+?)%%/gs
|
||||
|
||||
export const Comments: QuartzTransformerPlugin<undefined> = () => {
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user