roadmap/content/notes/obsidian.md

30 lines
1.6 KiB
Markdown
Raw Normal View History

---
title: "Obsidian Vault Integration"
2021-12-27 02:13:21 +00:00
tags:
- setup
---
2021-07-18 19:19:58 +00:00
2021-07-18 20:40:53 +00:00
## Setup
2021-07-18 19:19:58 +00:00
Obsidian is the preferred way to use Quartz. You can either create a new Obsidian Vault or link one that your already have.
2021-07-18 20:40:53 +00:00
### New Vault
2022-01-04 16:39:22 +00:00
If you don't have an existing Vault, [download Obsidian](https://obsidian.md/) and create a new Vault in the `/content` folder that you created and cloned during the [setup](notes/setup.md) step.
2021-07-18 19:19:58 +00:00
2021-07-18 20:40:53 +00:00
### Linking an existing Vault
2022-01-04 16:39:22 +00:00
The easiest way to use an existing Vault is to copy all of your files (directory and hierarchies intact) into the `/content` folder.
2021-07-18 19:19:58 +00:00
2021-07-18 20:40:53 +00:00
## Settings
Great, now that you have your Obsidian linked to your Quartz, let's fix some settings so that they play well.
2022-01-04 16:39:22 +00:00
1. Under Options > Files and Links, set the New link format to always be Absolute Path in Vault and disabled WikiLinks so Obsidian generates regular Markdown links.
2. Go to Settings > Files & Links > Turn "on" automatically update internal links.
3. Use [[Wikilinks]] should be off (Wikilinks are not officially supported yet)
2021-07-18 20:40:53 +00:00
![Obsidian Settings](/notes/images/obsidian-settings.png)*Obsidian Settings*
## Templates
2021-12-27 22:34:53 +00:00
Inserting front matter everytime you want to create a new Note gets annoying really quickly. Luckily, Obsidian supports templates which makes inserting new content really easily.
2021-07-18 20:40:53 +00:00
**If you decide to overwrite the `/content` folder completely, don't remove the `/content/templates` folder!**
2022-01-04 16:39:22 +00:00
Head over to Options > Core Plugins and enable the Templates plugin. Then go to Options > Hotkeys and set a hotkey for 'Insert Template' (I recomment `[cmd]+T`). That way, when you create a new note, you can just press the hotkey for a new template and be ready to go!