I usually end up using bulk search and replace in whatever editor I’m using. Most allow a regex to be specified in the “find” part, to target frontmatter. You can also use things like sed or awk if you want to go the bash script route.
Complex, yes, but Regexes are worth learning because you can use them in so many contexts.
Not mine per se, just something I found that demonstrates how to pinpoint in frontmatter.
Regex is worth the time it takes to study them. They are super complex, enough to make your head hurt especially at first, but they are used in so many contexts in programming.
Google “regex tester” and you’ll find a bunch of good sites to test your regexes against.
That looks useful. Based on the package manifest looks like the “manipulator” works with both YAML and TOML frontmatter. Not sure it would be any easier to use though than spending a little time doing a Find All /Replace from an editor (with or without regular expressions).
If the need to package up YAML frontmatter as a JSON blob (lodash anyone?) arises I just found: