From 7bcf27241ff30d08e937b47d9fc113b781f7cebe Mon Sep 17 00:00:00 2001 From: Jacky Zhao Date: Tue, 19 Dec 2023 19:03:40 -0800 Subject: [PATCH] fix: latex before syntax highlighting --- quartz.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quartz.config.ts b/quartz.config.ts index f677a18..5c2c411 100644 --- a/quartz.config.ts +++ b/quartz.config.ts @@ -49,11 +49,11 @@ const config: QuartzConfig = { Plugin.CreatedModifiedDate({ priority: ["frontmatter", "filesystem"], // you can add 'git' here for last modified from Git but this makes the build slower }), + Plugin.Latex({ renderEngine: "katex" }), Plugin.SyntaxHighlighting(), Plugin.ObsidianFlavoredMarkdown({ enableInHtmlEmbed: false }), Plugin.GitHubFlavoredMarkdown(), Plugin.CrawlLinks({ markdownLinkResolution: "shortest" }), - Plugin.Latex({ renderEngine: "katex" }), Plugin.Description(), ], filters: [Plugin.RemoveDrafts()],