From 5ec61468d5e787b3c8ae32a2b4ef1595cf0bc3ee Mon Sep 17 00:00:00 2001
From: Emile Bangma <ewjbangma@hotmail.com>
Date: Sun, 31 Mar 2024 16:44:50 +0000
Subject: [PATCH] fix(wikilinks): proper escaping of pipe character in wikilinks inside tables (#1040)
---
quartz.config.ts | 24 +++++++++++++++++++-----
1 files changed, 19 insertions(+), 5 deletions(-)
diff --git a/quartz.config.ts b/quartz.config.ts
index 0f6d256..4b98325 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",
@@ -9,10 +14,13 @@
analytics: {
provider: "plausible",
},
+ locale: "en-US",
baseUrl: "quartz.jzhao.xyz",
ignorePatterns: ["private", "templates", ".obsidian"],
defaultDateType: "created",
theme: {
+ fontOrigin: "googleFonts",
+ cdnCaching: true,
typography: {
header: "Schibsted Grotesk",
body: "Source Sans Pro",
@@ -45,21 +53,27 @@
plugins: {
transformers: [
Plugin.FrontMatter(),
- Plugin.TableOfContents(),
Plugin.CreatedModifiedDate({
- priority: ["frontmatter", "filesystem"], // you can add 'git' here for last modified from Git but this makes the build slower
+ priority: ["frontmatter", "filesystem"],
+ }),
+ Plugin.Latex({ renderEngine: "katex" }),
+ Plugin.SyntaxHighlighting({
+ theme: {
+ light: "github-light",
+ dark: "github-dark",
+ },
+ keepBackground: false,
}),
Plugin.ObsidianFlavoredMarkdown({ enableInHtmlEmbed: false }),
- Plugin.SyntaxHighlighting(),
Plugin.GitHubFlavoredMarkdown(),
+ Plugin.TableOfContents(),
Plugin.CrawlLinks({ markdownLinkResolution: "shortest" }),
- Plugin.Latex({ renderEngine: "katex" }),
Plugin.Description(),
],
filters: [Plugin.RemoveDrafts()],
emitters: [
Plugin.AliasRedirects(),
- Plugin.ComponentResources({ fontOrigin: "googleFonts" }),
+ Plugin.ComponentResources(),
Plugin.ContentPage(),
Plugin.FolderPage(),
Plugin.TagPage(),
--
Gitblit v1.10.0