quartz-research-note/content/advanced/making plugins.md

22 lines
527 B
Markdown
Raw Normal View History

---
title: Making your own plugins
2023-07-10 02:32:24 +00:00
---
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
2023-07-23 00:27:41 +00:00
2023-07-10 02:32:24 +00:00
```ts
export type QuartzTransformerPluginInstance = {
name: string
textTransform?: (src: string | Buffer) => string | Buffer
markdownPlugins?: () => PluggableList
htmlPlugins?: () => PluggableList
externalResources?: () => Partial<StaticResources>
}
```
## Filters
2023-07-23 00:27:41 +00:00
## Emitters