|
| 1 | +# Obsidian Ribbon Divider |
| 2 | + |
| 3 | +A plugin for Obsidian.MD that allows you to add a daily note node to the canvas that will always show todays note. |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | +## How to Install |
| 8 | + |
| 9 | +Plugin will be added to official repository shortly. |
| 10 | + |
| 11 | +## How to Use |
| 12 | + |
| 13 | +On a canvas view, a new button will be added. When you click this button, it will add a new file node for your daily note. The plugin will automatically keep this file node up to date with the latest daily note whenever you open the canvas. |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | +> [!NOTE] |
| 18 | +> This plugin works by adding a special metadata (`unknownData`) to the file node. It will only work on these nodes crated via the plugin and will not work on existing file nodes. |
| 19 | +
|
| 20 | +> [!WARNING] |
| 21 | +> The updating of the daily note to today's note involved removing the existing canvas node and replacing it with a new one. As a result, the plugin currently doesn't support connections from the daily note node to other nodes. |
| 22 | +
|
| 23 | +## Settings |
| 24 | + |
| 25 | +When inserting a new node, or updating en existing node to today's daily note, the plugin by default will create the daily note if it does not already exist. |
| 26 | + |
| 27 | +If you would like the plugin to not do this, or not do it on specific days of the week, you can update this in settings. |
| 28 | + |
| 29 | + |
| 30 | + |
| 31 | +## Customization |
| 32 | + |
| 33 | +To customize the appearance of a daily note node, you can utilize CSS to target the element. |
| 34 | + |
| 35 | +```css |
| 36 | +/* Change look of Button */ |
| 37 | +.canvas-button-adddailynote { |
| 38 | +} |
| 39 | +/* Change look of daily note node */ |
| 40 | +.canvas-node-dailynote { |
| 41 | +} |
| 42 | +/* Change look of daily note node label */ |
| 43 | +.canvas-node-dailynote .canvas-node-label { |
| 44 | +} |
| 45 | +/* Change look of daily note node label pre-text */ |
| 46 | +.canvas-node-dailynote .canvas-node-label:before { |
| 47 | +} |
| 48 | +``` |
| 49 | + |
| 50 | +## Reporting Issues |
| 51 | + |
| 52 | +If you run into any issues with this plugin, please [open an issue](https://github.com/andrewmcgivery/obsidian-ribbon-divider/issues/new) and incude as much detail as possible, including screenshots. |
0 commit comments