chhoumann / MetaEdit

MetaEdit for Obsidian

Home Page:https://bagerbach.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Expose create property in API

bikingbadger opened this issue · comments

Really interesting tool. I'm currently trying to add a property to my files where they don't exist and update where it does. The update works great but unfortunately I can't find anything for creating a property. Is there any way of exposing this functionality in the API?

Hey. I've exposed createYamlProperty(propertyName: string, propertyValue: string, file: TFile | string). Hope this helps!

I am currently working on improvements to both the API and the backend stuff, so more is coming.

Brilliant, I'll give it a try thanks