2023-07-26 15:37:24 +09:00
|
|
|
import { QuartzConfig } from "./quartz/cfg"
|
2023-06-10 15:06:02 +09:00
|
|
|
import * as Plugin from "./quartz/plugins"
|
2023-05-31 00:02:20 +09:00
|
|
|
|
2023-07-26 15:37:24 +09:00
|
|
|
const config: QuartzConfig = {
|
|
|
|
configuration: {
|
2024-02-12 11:53:25 +09:00
|
|
|
pageTitle: "kazbo public notes",
|
2023-07-26 15:37:24 +09:00
|
|
|
enableSPA: true,
|
|
|
|
enablePopovers: true,
|
|
|
|
analytics: {
|
2024-02-12 11:53:25 +09:00
|
|
|
provider: "google",
|
|
|
|
tagId: "G-JVXFC0DCRE",
|
2023-07-10 11:32:24 +09:00
|
|
|
},
|
2024-02-12 12:23:12 +09:00
|
|
|
locale: "en-US",
|
2024-02-12 11:53:25 +09:00
|
|
|
baseUrl: "kinoshita-lab.github.io/public_notes",
|
|
|
|
ignorePatterns: ["private", "templates", ".obsidian", "obsidian_templates_"],
|
|
|
|
defaultDateType: "modified",
|
2023-07-26 15:37:24 +09:00
|
|
|
theme: {
|
|
|
|
typography: {
|
2024-02-12 11:53:25 +09:00
|
|
|
header: "Noto Serif JP",
|
|
|
|
body: "Noto Serif JP",
|
|
|
|
code: "Noto Mono",
|
2023-07-10 11:32:24 +09:00
|
|
|
},
|
2023-07-26 15:37:24 +09:00
|
|
|
colors: {
|
|
|
|
lightMode: {
|
|
|
|
light: "#faf8f8",
|
|
|
|
lightgray: "#e5e5e5",
|
2024-02-12 11:53:25 +09:00
|
|
|
gray: "#000000",
|
|
|
|
darkgray: "#000000",
|
|
|
|
dark: "#000000",
|
2023-07-26 15:37:24 +09:00
|
|
|
secondary: "#284b63",
|
|
|
|
tertiary: "#84a59d",
|
|
|
|
highlight: "rgba(143, 159, 169, 0.15)",
|
|
|
|
},
|
|
|
|
darkMode: {
|
|
|
|
light: "#161618",
|
|
|
|
lightgray: "#393639",
|
2024-02-12 11:53:25 +09:00
|
|
|
gray: "#ffffff",
|
|
|
|
darkgray: "#ffffff",
|
|
|
|
dark: "#ffffff",
|
2023-07-26 15:37:24 +09:00
|
|
|
secondary: "#7b97aa",
|
|
|
|
tertiary: "#84a59d",
|
|
|
|
highlight: "rgba(143, 159, 169, 0.15)",
|
|
|
|
},
|
2023-07-10 11:32:24 +09:00
|
|
|
},
|
2023-07-23 09:27:41 +09:00
|
|
|
},
|
|
|
|
},
|
2023-05-31 00:02:20 +09:00
|
|
|
plugins: {
|
|
|
|
transformers: [
|
2023-06-12 15:26:43 +09:00
|
|
|
Plugin.FrontMatter(),
|
2024-02-12 11:53:25 +09:00
|
|
|
Plugin.TableOfContents(),
|
2023-06-12 15:26:43 +09:00
|
|
|
Plugin.CreatedModifiedDate({
|
2024-01-08 08:39:29 +09:00
|
|
|
// you can add 'git' here for last modified from Git
|
|
|
|
// if you do rely on git for dates, ensure defaultDateType is 'modified'
|
2024-02-12 11:53:25 +09:00
|
|
|
priority: ["git"],
|
2023-06-01 06:01:23 +09:00
|
|
|
}),
|
2023-12-20 12:03:40 +09:00
|
|
|
Plugin.Latex({ renderEngine: "katex" }),
|
2023-12-19 16:09:49 +09:00
|
|
|
Plugin.SyntaxHighlighting(),
|
2023-12-20 04:01:55 +09:00
|
|
|
Plugin.ObsidianFlavoredMarkdown({ enableInHtmlEmbed: false }),
|
2023-06-20 12:37:45 +09:00
|
|
|
Plugin.GitHubFlavoredMarkdown(),
|
2023-07-23 09:27:41 +09:00
|
|
|
Plugin.CrawlLinks({ markdownLinkResolution: "shortest" }),
|
2023-06-20 12:37:45 +09:00
|
|
|
Plugin.Description(),
|
2023-05-31 00:02:20 +09:00
|
|
|
],
|
2023-07-23 09:27:41 +09:00
|
|
|
filters: [Plugin.RemoveDrafts()],
|
2023-05-31 00:02:20 +09:00
|
|
|
emitters: [
|
2023-06-17 11:41:59 +09:00
|
|
|
Plugin.AliasRedirects(),
|
2023-07-25 13:54:47 +09:00
|
|
|
Plugin.ComponentResources({ fontOrigin: "googleFonts" }),
|
2023-07-26 15:37:24 +09:00
|
|
|
Plugin.ContentPage(),
|
|
|
|
Plugin.FolderPage(),
|
|
|
|
Plugin.TagPage(),
|
2023-07-02 05:35:27 +09:00
|
|
|
Plugin.ContentIndex({
|
2024-02-12 11:53:25 +09:00
|
|
|
enableSiteMap: false,
|
2023-07-02 05:35:27 +09:00
|
|
|
enableRSS: true,
|
|
|
|
}),
|
2023-08-03 14:10:13 +09:00
|
|
|
Plugin.Assets(),
|
2023-07-24 09:07:19 +09:00
|
|
|
Plugin.Static(),
|
2023-09-07 13:02:21 +09:00
|
|
|
Plugin.NotFoundPage(),
|
2023-07-23 09:27:41 +09:00
|
|
|
],
|
2023-05-31 00:02:20 +09:00
|
|
|
},
|
2023-06-05 01:35:45 +09:00
|
|
|
}
|
|
|
|
|
|
|
|
export default config
|