* feat(ofm): add options to parse arrows Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com> * feat(ofm): add options to parse arrows Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com> --------- Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>
		
			
				
	
	
	
		
			2.4 KiB
		
	
	
	
	
	
	
	
			
		
		
	
	
			2.4 KiB
		
	
	
	
	
	
	
	
tags
| tags | |
|---|---|
  | 
Quartz was originally designed as a tool to publish Obsidian vaults as websites. Even as the scope of Quartz has widened over time, it hasn't lost the ability to seamlessly interoperate with Obsidian.
By default, Quartz ships with Plugin.ObsidianFlavoredMarkdown which is a transformer plugin that adds support for Obsidian Flavored Markdown. This includes support for features like wikilinks and Mermaid diagrams.
It also ships with support for frontmatter parsing with the same fields that Obsidian uses through the Plugin.FrontMatter transformer plugin.
Finally, Quartz also provides Plugin.CrawlLinks which allows you to customize Quartz's link resolution behaviour to match Obsidian.
Configuration
- Frontmatter parsing:
- Disabling: remove all instances of 
Plugin.FrontMatter()fromquartz.config.ts. - Customize default values for frontmatter: edit 
quartz/plugins/transformers/frontmatter.ts 
 - Disabling: remove all instances of 
 - Obsidian Flavored Markdown:
- Disabling: remove all instances of 
Plugin.ObsidianFlavoredMarkdown()fromquartz.config.ts - Customizing features: 
Plugin.ObsidianFlavoredMarkdownhas several other options to toggle on and off:comments: whether to enable%%style Obsidian comments. Defaults totruehighlight: whether to enable==style highlights. Defaults totruewikilinks: whether to enable turning wikilinks into regular links. Defaults totruecallouts: whether to enable callouts. Defaults totruemermaid: whether to enable Mermaid diagrams. Defaults totrueparseTags: whether to try and parse tags in the content body. Defaults totrueparseArrows: whether to try and parse arrows in the content body. Defaults totrue.enableInHtmlEmbed: whether to try and parse Obsidian flavoured markdown in raw HTML. Defaults tofalseenableYouTubeEmbed: whether to enable embedded YouTube videos using external image Markdown syntax. Defaults tofalse
 
 - Disabling: remove all instances of 
 - Link resolution behaviour:
- Disabling: remove all instances of 
Plugin.CrawlLinks()fromquartz.config.ts - Changing link resolution preference: set 
markdownLinkResolutionto one ofabsolute,relativeorshortest 
 - Disabling: remove all instances of