mirror of
https://github.com/jackyzha0/quartz.git
synced 2026-03-22 05:55:42 -05:00
44 lines
1.3 KiB
Markdown
44 lines
1.3 KiB
Markdown
---
|
|
title: "Roam Research Compatibility"
|
|
tags:
|
|
- feature/transformer
|
|
---
|
|
|
|
[Roam Research](https://roamresearch.com) 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.
|
|
|
|
```yaml title="quartz.config.yaml"
|
|
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:
|
|
|
|
```ts title="quartz.ts (override)"
|
|
plugins: {
|
|
transformers: [
|
|
// ...
|
|
Plugin.RoamFlavoredMarkdown(),
|
|
Plugin.ObsidianFlavoredMarkdown(),
|
|
// ...
|
|
],
|
|
}
|
|
```
|
|
|
|
> [!warning]
|
|
> In YAML, plugin execution order is controlled by the `order` field. Ensure `roam` has a lower `order` value than `obsidian-flavored-markdown` so it runs first.
|
|
|
|
> [!warning]
|
|
> In YAML, plugin execution order is controlled by the `order` field. Ensure the `roam` plugin has a lower `order` value than `obsidian-flavored-markdown` so it runs first.
|
|
|
|
## Customization
|
|
|
|
This functionality is provided by the [[RoamFlavoredMarkdown]] plugin. See the plugin page for customization options.
|