rizaldy.club/content/notes/obsidian.md

32 lines
1.6 KiB
Markdown
Raw Normal View History

2022-04-04 23:44:58 +07:00
---
title: "Obsidian Vault Integration"
tags:
- setup
2022-06-30 06:57:36 +07:00
weight: 2
2022-04-04 23:44:58 +07:00
---
## Setup
Obsidian is the preferred way to use Quartz. You can either create a new Obsidian Vault or link one that your already have.
### New Vault
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.
### Linking an existing Vault
The easiest way to use an existing Vault is to copy all of your files (directory and hierarchies intact) into the `/content` folder.
## Settings
Great, now that you have your Obsidian linked to your Quartz, let's fix some settings so that they play well.
2022-04-17 16:11:17 +07:00
1. Under Options > Files and Links, set the New link format to always use Absolute Path in Vault.
2022-04-04 23:44:58 +07:00
2. Go to Settings > Files & Links > Turn "on" automatically update internal links.
![Obsidian Settings](/notes/images/obsidian-settings.png)*Obsidian Settings*
## Templates
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.
**If you decide to overwrite the `/content` folder completely, don't remove the `/content/templates` folder!**
2022-04-17 15:33:16 +07: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 recommend `[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!
2022-06-30 06:57:36 +07:00
> 👀 Step 4: [Preview Quartz Changes](notes/preview%20changes.md)