mirror of
https://github.com/jackyzha0/quartz.git
synced 2025-12-24 13:24:05 -06:00
prettier
This commit is contained in:
parent
b1fb710229
commit
af4942357f
@ -54,7 +54,7 @@ const defaultOptions: GraphOptions = {
|
|||||||
focusOnHover: true,
|
focusOnHover: true,
|
||||||
enableRadial: true,
|
enableRadial: true,
|
||||||
},
|
},
|
||||||
hideOnRoot: false
|
hideOnRoot: false,
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
@ -6,7 +6,7 @@ interface ArticleTitleOptions {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const defaultOptions: ArticleTitleOptions = {
|
const defaultOptions: ArticleTitleOptions = {
|
||||||
hideOnRoot: false
|
hideOnRoot: false,
|
||||||
}
|
}
|
||||||
|
|
||||||
export default ((opts?: Partial<ArticleTitleOptions>) => {
|
export default ((opts?: Partial<ArticleTitleOptions>) => {
|
||||||
|
|||||||
@ -12,7 +12,7 @@ interface BacklinksOptions {
|
|||||||
|
|
||||||
const defaultOptions: BacklinksOptions = {
|
const defaultOptions: BacklinksOptions = {
|
||||||
hideWhenEmpty: true,
|
hideWhenEmpty: true,
|
||||||
hideOnRoot: false
|
hideOnRoot: false,
|
||||||
}
|
}
|
||||||
|
|
||||||
export default ((opts?: Partial<BacklinksOptions>) => {
|
export default ((opts?: Partial<BacklinksOptions>) => {
|
||||||
|
|||||||
@ -18,7 +18,7 @@ interface ContentMetaOptions {
|
|||||||
const defaultOptions: ContentMetaOptions = {
|
const defaultOptions: ContentMetaOptions = {
|
||||||
showReadingTime: true,
|
showReadingTime: true,
|
||||||
showComma: true,
|
showComma: true,
|
||||||
hideOnRoot: false
|
hideOnRoot: false,
|
||||||
}
|
}
|
||||||
|
|
||||||
export default ((opts?: Partial<ContentMetaOptions>) => {
|
export default ((opts?: Partial<ContentMetaOptions>) => {
|
||||||
|
|||||||
@ -49,7 +49,7 @@ const defaultOptions: Options = {
|
|||||||
},
|
},
|
||||||
filterFn: (node) => node.slugSegment !== "tags",
|
filterFn: (node) => node.slugSegment !== "tags",
|
||||||
order: ["filter", "map", "sort"],
|
order: ["filter", "map", "sort"],
|
||||||
hideOnRoot: false
|
hideOnRoot: false,
|
||||||
}
|
}
|
||||||
|
|
||||||
export type FolderState = {
|
export type FolderState = {
|
||||||
|
|||||||
@ -58,7 +58,7 @@ const defaultOptions: GraphOptions = {
|
|||||||
focusOnHover: true,
|
focusOnHover: true,
|
||||||
enableRadial: true,
|
enableRadial: true,
|
||||||
},
|
},
|
||||||
hideOnRoot: false
|
hideOnRoot: false,
|
||||||
}
|
}
|
||||||
|
|
||||||
export default ((opts?: Partial<GraphOptions>) => {
|
export default ((opts?: Partial<GraphOptions>) => {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user