I’m not sure what the original problem was, but I cleaned up the markup (by adding ``` before and after the code in your post) and indented the lines, and it’s working now.
So it’s likely the orignal YAML was not valid, maybe due to indenting (it’s usually indenting).
By the way,. you might consider writng it in tne inverted syntax (which is easier to work with for JavaScript extensions) like this:
okay I got it, had to add ) at the end. you had forgotten it. man code makes me crazy, so simple yet i feel so stupid when i try to do something with it hahaha
Unrelated but since you work beautifully (at least I love your work that’s all I can tell you) , if you happen to have resources on coding basics and text stuff like this yml sh*t , don’t hesitate to share, I’ll try to get into it someday
It also depends on your learning style. There are “how to code” videos on every topic on youtube for example and courses on Udemy and elsewhere.
When I get lost I always start by finding the manual for whatever it is and just sit an read it. You could always start with PopClip Extensions Developer Reference.