make layouts simpler to think about

This commit is contained in:
Jacky Zhao
2023-07-25 23:37:24 -07:00
parent 828a474fa9
commit 31e99c669a
8 changed files with 117 additions and 122 deletions

View File

@ -4,17 +4,9 @@ title: Making your own plugins
This part of the documentation will assume you have some basic coding knowledge and will include code snippets that describe the interface of what Quartz plugins should look like.
## Transformers
![[quartz-transform-pipeline.png]]
```ts
export type QuartzTransformerPluginInstance = {
name: string
textTransform?: (src: string | Buffer) => string | Buffer
markdownPlugins?: () => PluggableList
htmlPlugins?: () => PluggableList
externalResources?: () => Partial<StaticResources>
}
```
## Transformers
## Filters