rendering, link resolution, asset copying
This commit is contained in:
parent
ad6ce0d73f
commit
21c007e2fc
19 changed files with 564 additions and 274 deletions
|
@ -1,14 +1,13 @@
|
|||
import { buildQuartz } from "./quartz"
|
||||
import Head from "./quartz/components/Head"
|
||||
import { ContentPage, CreatedModifiedDate, Description, FrontMatter, GitHubFlavoredMarkdown, Katex, RemoveDrafts } from "./quartz/plugins"
|
||||
import { LinkProcessing } from "./quartz/plugins/transformers/links"
|
||||
|
||||
export default buildQuartz({
|
||||
configuration: {
|
||||
siteTitle: "🪴 Quartz 4.0",
|
||||
prettyLinks: true,
|
||||
markdownLinkResolution: 'absolute',
|
||||
enableLatex: true,
|
||||
enableSPA: true,
|
||||
ignorePatterns: [],
|
||||
ignorePatterns: ["private", "templates"],
|
||||
},
|
||||
plugins: {
|
||||
transformers: [
|
||||
|
@ -16,13 +15,18 @@ export default buildQuartz({
|
|||
new GitHubFlavoredMarkdown(),
|
||||
new Katex(),
|
||||
new Description(),
|
||||
new CreatedModifiedDate()
|
||||
new CreatedModifiedDate({
|
||||
priority: ['frontmatter', 'filesystem'] // you can add 'git' here for last modified from Git but this makes the build slower
|
||||
}),
|
||||
new LinkProcessing()
|
||||
],
|
||||
filters: [
|
||||
new RemoveDrafts()
|
||||
],
|
||||
emitters: [
|
||||
new ContentPage()
|
||||
new ContentPage({
|
||||
Head: Head
|
||||
})
|
||||
]
|
||||
},
|
||||
theme: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue