mirror of
https://github.com/alrayyes/wiki.git
synced 2024-11-22 11:36:23 +00:00
format
This commit is contained in:
parent
ebf3263b7e
commit
ad3f7b2d5f
2 changed files with 12 additions and 10 deletions
|
@ -3,6 +3,7 @@ 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
|
||||||
|
|
|
@ -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()
|
||||||
|
|
Loading…
Reference in a new issue