From fa69c2a5656254251b74dbd5545bef000f67af2f Mon Sep 17 00:00:00 2001
From: Ben Schlegel <31989404+benschlegel@users.noreply.github.com>
Date: Thu, 21 Sep 2023 17:35:11 +0000
Subject: [PATCH] fix(explorer): increase consistency, explicitly use font-family (#496)
---
quartz/plugins/transformers/syntax.ts | 13 +++++++++----
1 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/quartz/plugins/transformers/syntax.ts b/quartz/plugins/transformers/syntax.ts
index d2d0103..1766817 100644
--- a/quartz/plugins/transformers/syntax.ts
+++ b/quartz/plugins/transformers/syntax.ts
@@ -4,8 +4,13 @@
export const SyntaxHighlighting: QuartzTransformerPlugin = () => ({
name: "SyntaxHighlighting",
htmlPlugins() {
- return [[rehypePrettyCode, {
- theme: 'css-variables',
- } satisfies Partial<CodeOptions>]]
- }
+ return [
+ [
+ rehypePrettyCode,
+ {
+ theme: "css-variables",
+ } satisfies Partial<CodeOptions>,
+ ],
+ ]
+ },
})
--
Gitblit v1.10.0