make layouts simpler to think about
This commit is contained in:
		
							parent
							
								
									45f9087f03
								
							
						
					
					
						commit
						cc79502670
					
				
					 8 changed files with 117 additions and 122 deletions
				
			
		| 
						 | 
				
			
			@ -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
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -75,8 +75,10 @@ transformers: [
 | 
			
		|||
]
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
If you'd like to make your own plugins, read the guide on [[making plugins]] for more information.
 | 
			
		||||
 | 
			
		||||
### Layout
 | 
			
		||||
 | 
			
		||||
Certain emitters may also output [HTML](https://developer.mozilla.org/en-US/docs/Web/HTML) files. To make sure that
 | 
			
		||||
Certain emitters may also output [HTML](https://developer.mozilla.org/en-US/docs/Web/HTML) files. To enable easy customization, these emitters allow you to fully rearrange the layout of the page.
 | 
			
		||||
 | 
			
		||||
### Components
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -6,8 +6,6 @@ draft: true
 | 
			
		|||
 | 
			
		||||
- images in same folder are broken on shortest path mode
 | 
			
		||||
- watch mode for config/source code
 | 
			
		||||
- publish metadata https://help.obsidian.md/Editing+and+formatting/Metadata#Metadata+for+Obsidian+Publish
 | 
			
		||||
- metadata aliases: https://help.obsidian.md/Editing+and+formatting/Metadata#Predefined+metadata
 | 
			
		||||
- block links: https://help.obsidian.md/Linking+notes+and+files/Internal+links#Link+to+a+block+in+a+note
 | 
			
		||||
- note/header/block transcludes: https://help.obsidian.md/Linking+notes+and+files/Embedding+files
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue