mirror of
https://github.com/alrayyes/wiki.git
synced 2024-11-22 19:46:23 +00:00
20 lines
No EOL
525 B
Markdown
20 lines
No EOL
525 B
Markdown
---
|
|
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
|
|
```ts
|
|
export type QuartzTransformerPluginInstance = {
|
|
name: string
|
|
textTransform?: (src: string | Buffer) => string | Buffer
|
|
markdownPlugins?: () => PluggableList
|
|
htmlPlugins?: () => PluggableList
|
|
externalResources?: () => Partial<StaticResources>
|
|
}
|
|
```
|
|
|
|
## Filters
|
|
|
|
## Emitters |