From ad3f7b2d5fe15af2626250463994f5a9e9ba6d0a Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Wed, 9 Aug 2023 09:18:44 -0700
Subject: [PATCH] format

---
 content/features/upcoming features.md | 19 ++++++++++---------
 quartz/processors/parse.ts            |  3 ++-
 2 files changed, 12 insertions(+), 10 deletions(-)

diff --git a/content/features/upcoming features.md b/content/features/upcoming features.md
index 40b97cf..d1a3d30 100644
--- a/content/features/upcoming features.md	
+++ b/content/features/upcoming features.md	
@@ -3,24 +3,25 @@ draft: true
 ---
 
 ## todo
+
 - docs for making plugins
 - nested tags showing duplicate
 - back button with anchors / popovers + spa is broken
 - search should be fast for large repos
 - debounce cfg rebuild on large repos
-	- investigate content rebuild triggering multiple times even when debounced, causing an esbuild deadlock
+  - investigate content rebuild triggering multiple times even when debounced, causing an esbuild deadlock
 - dereference symlink for npx quartz sync
 - test/fix with subpath
 - fix docs with deploy from github
 - write feature docs
-    - callouts
-    - folder and tag listings
-    - mermaid diagrams
-    - rss
-    - spa-routing
-    - table of contents
-    - darkmode
-    - frontmatter parsing
+  - callouts
+  - folder and tag listings
+  - mermaid diagrams
+  - rss
+  - spa-routing
+  - table of contents
+  - darkmode
+  - frontmatter parsing
 
 ## high priority backlog
 
diff --git a/quartz/processors/parse.ts b/quartz/processors/parse.ts
index 299d59a..0015527 100644
--- a/quartz/processors/parse.ts
+++ b/quartz/processors/parse.ts
@@ -112,7 +112,8 @@ export function createFileParser(ctx: BuildCtx, fps: FilePath[]) {
   }
 }
 
-const clamp = (num: number, min: number, max: number) => Math.min(Math.max(Math.round(num), min), max);
+const clamp = (num: number, min: number, max: number) =>
+  Math.min(Math.max(Math.round(num), min), max)
 export async function parseMarkdown(ctx: BuildCtx, fps: FilePath[]): Promise<ProcessedContent[]> {
   const { argv } = ctx
   const perf = new PerfTimer()