Jacky Zhao
2023-08-12 c55d54f068a102d85dc16c5c0e63db413bc56145
quartz/processors/parse.ts
@@ -112,7 +112,8 @@
  }
}
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()