You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have written a user script in which I need to parse some YAML-formatted text that gets passed in via a function argument. I know I can pass the tp object into the function to access tp.obsidian.parseYaml, but I would like to know how to do this without the tp object.
Note that this YAML is not note frontmatter, I've extracted it from the body of the note itself.
FWIW, I'm primarily a Python developer and not a JavaScript dev. Thanks.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
I have written a user script in which I need to parse some YAML-formatted text that gets passed in via a function argument. I know I can pass the
tpobject into the function to accesstp.obsidian.parseYaml, but I would like to know how to do this without thetpobject.Note that this YAML is not note frontmatter, I've extracted it from the body of the note itself.
FWIW, I'm primarily a Python developer and not a JavaScript dev. Thanks.
All reactions