Thank you for your help Ush.
I was absolutely using the wrong parameter type.
app.vault.modify works just fine when I pass in a TFile instead of a path. Duh. I knew I was doing something stupid.
Thank you for your help Ush.
I was absolutely using the wrong parameter type.
app.vault.modify works just fine when I pass in a TFile instead of a path. Duh. I knew I was doing something stupid.