Folding headings based on their name

Hi!

I am wanting to fold some headings based on their name when loading a file, either with a regexp or with an exact match, does anyone know of a plugin that does this, I am willing to make it myself if I need to, but am not sure of how simple it would be and if it would even be possible to do as a plugin.

The Creases plugin doesn’t do what you want, but it does let you set folding points in templates, which could be an alternate approach if the shared heading names in your notes are the result of templates.

i did see it, but unfortunately they are not

I use spaced repetition for flashcards, and I have the flashcards under subheadings throughout the notes, with the flashcard tag as the heading

I will have a look at making a plugin to do this