import { QuartzConfig } from "./quartz/cfg"
import * as Plugin from "./quartz/plugins"
const config: QuartzConfig = {
configuration: {
pageTitle: "Matsuura Tomoya Research Note",
enableSPA: true,
enablePopovers: true,
locale: "ja-JP",
analytics: {
provider: "plausible",
},
baseUrl: "garden.matsuuratomoya.com",
repoUrl: "https://git.matsuuratomoya.com/tomoyanonymous/quartz-research-note",
ignorePatterns: ["private", "templates", ".obsidian"],
defaultDateType: "modified",
theme: {
typography: {
header: "Schibsted Grotesk",
body: "Source Sans Pro",
code: "IBM Plex Mono",
colors: {
lightMode: {
light: "#d7eff7",
lightgray: "#f0f0f0",
gray: "#4e4e4e",
darkgray: "#4e4e4e",
dark: "#284b63",
secondary: "#207e8f",
tertiary: "#84a59d",
highlight: "rgba(243,143,51,0.25)",
darkMode: {
light: "#161618",
lightgray: "#393639",
gray: "#646464",
darkgray: "#d4d4d4",
dark: "#ebebec",
secondary: "#7b97aa",
highlight: "rgba(143, 159, 169, 0.15)",
plugins: {
transformers: [
Plugin.FrontMatter(),
Plugin.CreatedModifiedDate({
priority: ["frontmatter", "git",], // 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.TableOfContents(),
Plugin.CrawlLinks({ markdownLinkResolution: "shortest" }),
Plugin.Description(),
],
filters: [Plugin.RemoveDrafts()],
emitters: [
Plugin.AliasRedirects(),
Plugin.ComponentResources({ fontOrigin: "googleFonts" }),
Plugin.ContentPage(),
Plugin.FolderPage(),
Plugin.TagPage(),
Plugin.ContentIndex({
enableSiteMap: true,
enableRSS: true,
Plugin.Assets(),
Plugin.Static(),
Plugin.NotFoundPage(),
}
export default config