| | |
| | | import * as Plugin from "./quartz/plugins" |
| | | |
| | | /** |
| | | * Quartz 4.0 Configuration |
| | | * Quartz 4 Configuration |
| | | * |
| | | * See https://quartz.jzhao.xyz/configuration for more information. |
| | | */ |
| | | const config: QuartzConfig = { |
| | | configuration: { |
| | | pageTitle: "🪴 Quartz 4.0", |
| | | pageTitle: "🪴 Quartz 4", |
| | | pageTitleSuffix: "", |
| | | enableSPA: true, |
| | | enablePopovers: true, |
| | | analytics: { |
| | |
| | | baseUrl: "quartz.jzhao.xyz", |
| | | ignorePatterns: ["private", "templates", ".obsidian"], |
| | | defaultDateType: "created", |
| | | generateSocialImages: false, |
| | | theme: { |
| | | fontOrigin: "googleFonts", |
| | | cdnCaching: true, |
| | | typography: { |
| | | header: "Schibsted Grotesk", |
| | |
| | | secondary: "#284b63", |
| | | tertiary: "#84a59d", |
| | | highlight: "rgba(143, 159, 169, 0.15)", |
| | | textHighlight: "#fff23688", |
| | | }, |
| | | darkMode: { |
| | | light: "#161618", |
| | |
| | | secondary: "#7b97aa", |
| | | tertiary: "#84a59d", |
| | | highlight: "rgba(143, 159, 169, 0.15)", |
| | | textHighlight: "#b3aa0288", |
| | | }, |
| | | }, |
| | | }, |
| | |
| | | Plugin.CreatedModifiedDate({ |
| | | priority: ["frontmatter", "filesystem"], |
| | | }), |
| | | Plugin.ObsidianFlavoredMarkdown({ enableInHtmlEmbed: false }), |
| | | Plugin.Latex({ renderEngine: "katex" }), |
| | | Plugin.SyntaxHighlighting({ |
| | | theme: { |
| | | light: "github-light", |
| | |
| | | }, |
| | | keepBackground: false, |
| | | }), |
| | | Plugin.ObsidianFlavoredMarkdown({ enableInHtmlEmbed: false }), |
| | | Plugin.GitHubFlavoredMarkdown(), |
| | | Plugin.TableOfContents(), |
| | | Plugin.CrawlLinks({ markdownLinkResolution: "shortest" }), |
| | | Plugin.Description(), |
| | | Plugin.Latex({ renderEngine: "katex" }), |
| | | ], |
| | | filters: [Plugin.RemoveDrafts()], |
| | | emitters: [ |
| | | Plugin.AliasRedirects(), |
| | | Plugin.ComponentResources({ fontOrigin: "googleFonts" }), |
| | | Plugin.ComponentResources(), |
| | | Plugin.ContentPage(), |
| | | Plugin.FolderPage(), |
| | | Plugin.TagPage(), |