This commit is contained in:
Jacky Zhao 2023-08-09 09:18:44 -07:00
parent ebf3263b7e
commit ad3f7b2d5f
2 changed files with 12 additions and 10 deletions

View File

@ -3,24 +3,25 @@ draft: true
--- ---
## todo ## todo
- docs for making plugins - docs for making plugins
- nested tags showing duplicate - nested tags showing duplicate
- back button with anchors / popovers + spa is broken - back button with anchors / popovers + spa is broken
- search should be fast for large repos - search should be fast for large repos
- debounce cfg rebuild on 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 - dereference symlink for npx quartz sync
- test/fix with subpath - test/fix with subpath
- fix docs with deploy from github - fix docs with deploy from github
- write feature docs - write feature docs
- callouts - callouts
- folder and tag listings - folder and tag listings
- mermaid diagrams - mermaid diagrams
- rss - rss
- spa-routing - spa-routing
- table of contents - table of contents
- darkmode - darkmode
- frontmatter parsing - frontmatter parsing
## high priority backlog ## high priority backlog

View File

@ -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[]> { export async function parseMarkdown(ctx: BuildCtx, fps: FilePath[]): Promise<ProcessedContent[]> {
const { argv } = ctx const { argv } = ctx
const perf = new PerfTimer() const perf = new PerfTimer()