From b9dee0775cda4bb29da1a5fb5b000ddcd4dc1f6e Mon Sep 17 00:00:00 2001
From: kon-foo <25391223+kon-foo@users.noreply.github.com>
Date: Mon, 26 Feb 2024 21:55:47 +0000
Subject: [PATCH] docs: Clarifications in the Explorer Docs (#938)
---
quartz.config.ts | 16 +++++++++++++---
1 files changed, 13 insertions(+), 3 deletions(-)
diff --git a/quartz.config.ts b/quartz.config.ts
index 4921a11..2cdadb7 100644
--- a/quartz.config.ts
+++ b/quartz.config.ts
@@ -1,6 +1,11 @@
import { QuartzConfig } from "./quartz/cfg"
import * as Plugin from "./quartz/plugins"
+/**
+ * Quartz 4.0 Configuration
+ *
+ * See https://quartz.jzhao.xyz/configuration for more information.
+ */
const config: QuartzConfig = {
configuration: {
pageTitle: "🪴 Quartz 4.0",
@@ -14,6 +19,7 @@
ignorePatterns: ["private", "templates", ".obsidian"],
defaultDateType: "created",
theme: {
+ cdnCaching: true,
typography: {
header: "Schibsted Grotesk",
body: "Source Sans Pro",
@@ -47,12 +53,16 @@
transformers: [
Plugin.FrontMatter(),
Plugin.CreatedModifiedDate({
- // you can add 'git' here for last modified from Git
- // if you do rely on git for dates, ensure defaultDateType is 'modified'
priority: ["frontmatter", "filesystem"],
}),
Plugin.Latex({ renderEngine: "katex" }),
- Plugin.SyntaxHighlighting(),
+ Plugin.SyntaxHighlighting({
+ theme: {
+ light: "github-light",
+ dark: "github-dark",
+ },
+ keepBackground: false,
+ }),
Plugin.ObsidianFlavoredMarkdown({ enableInHtmlEmbed: false }),
Plugin.GitHubFlavoredMarkdown(),
Plugin.TableOfContents(),
--
Gitblit v1.10.0