| | |
| | | import { buildQuartz } from "./quartz" |
| | | import Head from "./quartz/components/Head" |
| | | import { ContentPage, CreatedModifiedDate, Description, FrontMatter, GitHubFlavoredMarkdown, Katex, ObsidianFlavoredMarkdown, RemoveDrafts, ResolveLinks } from "./quartz/plugins" |
| | | import { QuartzConfig } from "./quartz/cfg" |
| | | import * as Head from "./quartz/components/Head" |
| | | import * as Header from "./quartz/components/Header" |
| | | import { |
| | | ContentPage, |
| | | CreatedModifiedDate, |
| | | Description, |
| | | FrontMatter, |
| | | GitHubFlavoredMarkdown, |
| | | Katex, |
| | | ObsidianFlavoredMarkdown, |
| | | RemoveDrafts, |
| | | ResolveLinks, |
| | | SyntaxHighlighting |
| | | } from "./quartz/plugins" |
| | | |
| | | export default buildQuartz({ |
| | | const config: QuartzConfig = { |
| | | configuration: { |
| | | siteTitle: "🪴 Quartz 4.0", |
| | | enableSPA: true, |
| | |
| | | new CreatedModifiedDate({ |
| | | priority: ['frontmatter', 'filesystem'] // you can add 'git' here for last modified from Git but this makes the build slower |
| | | }), |
| | | new SyntaxHighlighting(), |
| | | new GitHubFlavoredMarkdown(), |
| | | new ObsidianFlavoredMarkdown(), |
| | | new ResolveLinks(), |
| | |
| | | ], |
| | | emitters: [ |
| | | new ContentPage({ |
| | | Head: Head |
| | | Head: Head, |
| | | Header: Header |
| | | }) |
| | | ] |
| | | }, |
| | | }) |
| | | } |
| | | |
| | | export default config |