Using Dendron - An Opionated Approach
My Dendron Setup
- Initialize a Dendron work space
- Organize notes based on privacy levels
- Create a storage location for each privacy level
- Create default templates for each note type
Step One - Initialize a Single Dendron Workspace
Goals
- A single location for all notes to reduce location confusion
- Backup for items not yet commited to a repo
Steps
- Open Visual Studio Code
- Install the Dendron extension
- I skip Dendron Markdown Shortcuts because it re-maps
Ctrl+B
and I’m too lazy to re-map and re-learn
- I skip Dendron Markdown Shortcuts because it re-maps
- Run
Dendron: Initialize Workspace
from the command palette- I used
/Dendron
at the root of my Dropbox folder for extra backup
- I used
Step Two - Organize notes based on privacy levels
Storing information based on privacy level enforces good privacy practices, increases sharing options, and allows for multiple storage locations with their own access permissions.
I use three:
notes-public
(public Github repo)- blog posts
- code snippets
- reciepes
notes-personal
(private Github repo)- writing ideas
- D&D notes and ideas
- setup guides for my personal life
- random scratch notes
notes-<company>
(private repo hosted on a company server)- meeting notes
- company-specific setup guides
- action items
My public and private repos live in a personal Github account and work notes live in a company hosted Azure Repo. This keeps work content seperate from personal while allowing me to pull down my public notes onto my work laptop.
Step Three - Create a storage location for each privacy level
Dendron stores notes in vaults and supports multiple vaults and vault locations. By default are local file-system vault is used, with files stored in the workspace root. It also supports git-based vaults, allowing easier sharing, backup, and providing a single source of truth. It also allows access to your notes on machines that only have a browser.
Using Dendron with Github and Git provides detailed steps for creating and connecting git-based vaults, here are the cliff notes.
For each privacy level:
- Create a new Github repo
- Open your Dendron workspace
- Add each vault via
Dendron: Vault Add
- choose
remote
andcustom
- enter the clone URL of your repo
- choose
Work vaults should be created inside your company, we use Azure Repos.
Step Four - Initialize Dendron, Add All Three Vaults
Follow the excellent guide.
Step Five - Create Templates for Each Note Type
-
notes-public/templates/reciepe
- adds Food and Reciepe categories
- adds Date
- Provides basic template
- lastupdated
-
notes-public/templates/snippet
-
notes-personal/templates/daily
-
notes-personal/templates/writing
-
notes-personal/templates/dnd
-
notes-personal/templates/writing
-
notes-private/templates/diary
Initiailze A Dendron Workspace
-
Install the Dendron VSCode extensions
-
I picked my Dropbox root:
C:\Users\shawn\Dropbox\Dendron
- provides an extra layer of backup
- follows my existing pattern of using Dropbox as my main user “root” for documents
- making it a folder off the root highlights it’s importance