Hide certain tags after querying in dataview

Is there a clean and easy way to hide a tag used for a query in dataview?

This is my query

TASK from #open-loop
WHERE contains(tags, "#open-loop")
WHERE !checked
SORT file.ctime ASC

Which will give me every line/block tagged with “open-loop” but I’m just looking to hide the actual tags “open-loop” so they don’t show in every single line.

Is this easy?

Hello.

This works in a local vault:

```dataview
TASK from #open-loop
WHERE contains(tags, "#open-loop")
WHERE !checked
FLATTEN regexreplace(text, "#\S+\s?", "") as visual
SORT file.ctime ASC
```

Reference source: Hiding tags in dataview - #2 by holroy by @holroy

This is perfect! Thank you so much!

1 Like