Note refactor - create new notes in folder named by headings

I tend to drop all my notes into the daily note and looking to use Note Refactor to automatically split the daily note by heading and drop into folders with matching name (as per heading). The “folder for new notes” option seems to only permit moment() format. Is there a way to specify folder for new/append notes as per heading name?

Apologies if this is not the correct category for community plugin help

As an update, I butchered the plugin a bit to create what I needed. I am no programmer so not entirely sure if I’ve got it right but works so far and no messy problems since. I created an additional folder option for “using the heading name” and requests user to enter a base folder. I am not sure how to do the github thing so I’m not going to upload anywhere unless someone else wants to have a look at it.