mirror of
https://github.com/alrayyes/wiki.git
synced 2025-06-06 05:53:14 +00:00
docs on making plugins
This commit is contained in:
parent
ad3f7b2d5f
commit
cefbca4753
11 changed files with 330 additions and 43 deletions
quartz/plugins/emitters
|
@ -42,9 +42,7 @@ export const ContentPage: QuartzEmitterPlugin<Partial<FullPageLayout>> = (userOp
|
|||
}
|
||||
|
||||
const content = renderPage(slug, componentData, opts, externalResources)
|
||||
|
||||
const fp = (file.data.slug + ".html") as FilePath
|
||||
await emit({
|
||||
const fp = await emit({
|
||||
content,
|
||||
slug: file.data.slug!,
|
||||
ext: ".html",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue