Jacky Zhao
2023-06-20 fd5c8d17d3b3cd0a13b0a21a2b78d85010e02e12
quartz.config.ts
@@ -39,16 +39,16 @@
  plugins: {
    transformers: [
      Plugin.FrontMatter(),
      Plugin.Description(),
      Plugin.TableOfContents(),
      Plugin.CreatedModifiedDate({
        priority: ['frontmatter', 'filesystem'] // you can add 'git' here for last modified from Git but this makes the build slower
      }),
      Plugin.GitHubFlavoredMarkdown(),
      Plugin.ObsidianFlavoredMarkdown(),
      Plugin.ResolveLinks(),
      Plugin.GitHubFlavoredMarkdown(),
      Plugin.CrawlLinks(),
      Plugin.SyntaxHighlighting(),
      Plugin.Katex(),
      Plugin.Description(),
    ],
    filters: [
      Plugin.RemoveDrafts()
@@ -60,6 +60,7 @@
        header: [
          Component.PageTitle({ title: "🪴 Quartz 4.0" }),
          Component.Spacer(),
          Component.Search(),
          Component.Darkmode()
        ],
        beforeBody: [
@@ -73,6 +74,7 @@
        right: [
          Component.Graph(),
          Component.TableOfContents(),
          Component.Backlinks()
        ],
        footer: []
      }),