loadQuartzConfig() internally calls loadQuartzLayout() to build the PageTypeDispatcher, which instantiates components. Plugin option overrides must be registered before this happens. Updated quartz.ts and all doc snippets that show the ExternalPlugin override pattern to place calls before loadQuartzConfig(). Also updated OxHugo and Roam docs from stale v4 plugins pattern to v5 override pattern.
1.2 KiB
1.2 KiB
title, tags
| title | tags | |
|---|---|---|
| Roam Research Compatibility |
|
Roam Research is a note-taking tool that organizes your knowledge graph in a unique and interconnected way.
Quartz supports transforming the special Markdown syntax from Roam Research (like {{[[components]]}} and other formatting) into
regular Markdown via the RoamFlavoredMarkdown plugin.
plugins:
- source: github:quartz-community/roam
enabled: true
order: 25 # must come before obsidian-flavored-markdown
- source: github:quartz-community/obsidian-flavored-markdown
enabled: true
order: 30
For the TS override approach, place overrides before loadQuartzConfig() in quartz.ts:
import * as ExternalPlugin from "./.quartz/plugins"
ExternalPlugin.RoamFlavoredMarkdown()
Warning
In YAML, plugin execution order is controlled by the
orderfield. Ensureroamhas a lowerordervalue thanobsidian-flavored-markdownso it runs first.
Customization
This functionality is provided by the RoamFlavoredMarkdown plugin. See the plugin page for customization options.