Query for notes with invalid YAML?

What I’m trying to do

Does anyone have a way of seeing which notes have invalid YAML? I rely on Dataviews and Queries a lot, but if the YAML of a note is invalid it of course disappears from many of my queries.

Things I have tried

  • searching this forum (there are a LOT of posts about invalid YAML!!!)
  • Linter (can’t find any built in command, although maybe something could be created with this?)

TIA

I’ve been hunting for an answer to this exact same question. Did you discover any way of finding all the invalid YAML in your vault in the end?

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