From 3d4552fdd99366d7c63d452b71f0b03b2297ac8f Mon Sep 17 00:00:00 2001 From: Alan Grainger Date: Thu, 1 Aug 2024 13:07:25 +0200 Subject: [PATCH] Update docs --- docs/notes/Managing your notes.md | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/docs/notes/Managing your notes.md b/docs/notes/Managing your notes.md index 5ec117c..4a9bc3e 100644 --- a/docs/notes/Managing your notes.md +++ b/docs/notes/Managing your notes.md @@ -9,9 +9,13 @@ permalink: /notes/management At some stage I plan to add a management / admin page to the plugin where you can manage all your existing shared notes. -For now, you can achieve a fairly good management view with [Dataview](https://github.com/blacksmithgu/obsidian-dataview). +For now, you can achieve a fairly good management view with [Dataview](https://github.com/blacksmithgu/obsidian-dataview): -Create a query like this: +![](./note-management.png) + +The 🔒 icon indicates that a note was shared with encryption. + +To set it up, create a Dataview query like this in any note: ```` ```dataview @@ -24,8 +28,12 @@ WHERE share_link ``` ```` -To sort with your most recent shares at the top, add `SORT share_updated DESC` under the WHERE line. +**You need to make sure to paste as plain text. If you don't know how to do that, +change to Source Mode first before pasting.** -If everything worked you should see a table like this of your shared notes. The 🔒 icon indicates that a note was shared with encryption. +To sort with your most recent shares at the top, add a `SORT` under the `WHERE` line like this: -![](./note-management.png) +``` +WHERE share_link +SORT share_updated DESC +```