How do turn dataview fields in yaml frontmatter into yaml fields to work with the new properties?

At some point I started to use a couple of dataview fields in the yaml frontmatter of my templates, i.e. most of my notes. I don’t remember what led me to use dataview fields (with double colons) instead of standard yaml but that’s what I did. I now realize that this was not only unnecessary (or is there any good reason for using double colons in frontmatter?) but a mistake in view of the new properties feature because Properties doesn’t seem to play well with double colons.

I’m still trying to figure out how exactly it handles them under various circumstances (for instance, I have seen views:: 10 changed to "views:": 10 but can’t seem to reproduce it), but it seems clear to me that it’s better not to have them in the frontmatter, so I removed them from all my templates.

What I’m trying to do

So, now (if the above is correct), the question is how do I consolidate the frontmatter in my existing notes? What is the best way to remove those double colons?

Things I have tried

So far, I have only change some notes manually as I am shying away from making bulk changes before I know it’s the right thing to do and how to do it in a secure way.

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