Testing things
Build Quartz site / build (push) Successful in 2m0s
Details
Build Quartz site / build (push) Successful in 2m0s
Details
This commit is contained in:
parent
ae4ebe253f
commit
9aa3590145
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in New Issue