A note with a list of tags

I have a tag called #encouragements.

I would like to have a dynamic note that displays these.

Is this possible?

Things I have tried

I searched for “notes with hashtags” but couldn’t find anything.

1 Like

Two possibilities:

  1. Obsidian’s native embedded queries:

```query
#encouragements
```

  1. The dataview plugin gives you further possibilities to do more differentiated searches and structure the resulting tables. A simple search would look like:
    ```dataview
    LIST
    FROM #encouragements
    ```

You can use “TABLE” instead of “LIST” to show the result in a different way. Tables are much more customizable, check out the above documentation link or search in the forum for dataview examples, for example here.

5 Likes

Thank you.

Is it as simple as adding:

```dataview
    LIST
    FROM #encouragements
    ```

to the top of a note? I’m doing this but nothing happens.

Add:

```query
#encouragements
```

The query should populate when viewed in preview mode.

Angel

You should of course have the dataview plugin installed for this to work… :wink:

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.