Show double colon ( :: ) from dataview as one, when not editing the line

Use case or problem

I’m in extensive use of dataview, and it’s possibility to set metadata in the text with a double colon i.e.
Category:: Feature Request

That’s great, but it looks awkward. So I would love to only see one colon when not editing it, like with the Markdown syntax.

Proposed solution

The easiest would be to handle it, like Markdown is handled.

An alternative would be to wrap a span around the double colons like <span class="double_colon">::</span> and leave it to the custom CSS to replace it.

Shouldn’t this be a feature request on the Dataview plugin?

1 Like

msrch made a great little plugin solving exactly this problem: Double Colon Conceal!
It can be downloaded in obsidian, and you can even design the concealed colon with .cm-double-colon-conceal. In my case, all Dataview colons now have a dark red.

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