Digital Garden is the Obsidian plugin that lets me publish changes from my local obsidian here directly to the web on my personal website. Below are some helpful tips & tricks I've collected to streamline the process.
For further tweaks and customization, adding in your own CSS is helpful. Digital Garden docs provides a helpful guide to notes icon customizing and how to find this in the source files.
Helpful commands in digital garden front-matter placed at the top of a note.
- **Hide file from file tree :** If you want to hide a note from the filetree, you can do so by setting dg-hide to true.
```
---
dg-hide: true
---
```
- **Pinning notes to filetree :** If you want certain notes to be at the top of the folder its in, you can use the dg-pinned attribute. Setting this to true will make the note be on top of the folder it is currently in
The ideal way to change the default icons is by adding the svgs in the img folder and setting the appropriate css vars in body in a[custom css file](https://dg-docs.ole.dev/advanced/adding-custom-components/#dynamic-css-scss):
To add new icons, let's say, for 'stone', add a snippet like this (and add the relevant svg) in a[custom css file](https://dg-docs.ole.dev/advanced/adding-custom-components/#dynamic-css-scss):