From 9d2024b11c7c24ec8112b5019504fc44b4e1a297 Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Tue, 13 Jun 2023 05:41:42 +0000
Subject: [PATCH] taglist, mermaid
---
quartz.config.ts | 28 ++++++++++++++--------------
1 files changed, 14 insertions(+), 14 deletions(-)
diff --git a/quartz.config.ts b/quartz.config.ts
index 3a1d433..5868449 100644
--- a/quartz.config.ts
+++ b/quartz.config.ts
@@ -39,26 +39,26 @@
},
plugins: {
transformers: [
- new Plugin.FrontMatter(),
- new Plugin.Description(),
- new Plugin.TableOfContents({ showByDefault: true }),
- new Plugin.CreatedModifiedDate({
+ Plugin.FrontMatter(),
+ Plugin.Description(),
+ Plugin.TableOfContents({ showByDefault: true }),
+ Plugin.CreatedModifiedDate({
priority: ['frontmatter', 'filesystem'] // you can add 'git' here for last modified from Git but this makes the build slower
}),
- new Plugin.GitHubFlavoredMarkdown(),
- new Plugin.ObsidianFlavoredMarkdown(),
- new Plugin.ResolveLinks(),
- new Plugin.SyntaxHighlighting(),
- new Plugin.Katex(),
+ Plugin.GitHubFlavoredMarkdown(),
+ Plugin.ObsidianFlavoredMarkdown(),
+ Plugin.ResolveLinks(),
+ Plugin.SyntaxHighlighting(),
+ Plugin.Katex(),
],
filters: [
- new Plugin.RemoveDrafts()
+ Plugin.RemoveDrafts()
],
emitters: [
- new Plugin.ContentPage({
- head: Component.Head,
- header: [Component.PageTitle, Component.Spacer, Component.Darkmode],
- body: [Component.ArticleTitle, Component.ReadingTime, Component.TableOfContents, Component.Content]
+ Plugin.ContentPage({
+ head: Component.Head(),
+ header: [Component.PageTitle(), Component.Spacer(), Component.Darkmode()],
+ body: [Component.ArticleTitle(), Component.ReadingTime(), Component.TagList(), Component.TableOfContents(), Component.Content()]
})
]
},
--
Gitblit v1.10.0