Add note to review programmatically #723
Unanswered
BorisTheTripper
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
First off, big thanks to the maintainers & contributors of this amazing plugin. 🤌🎩
My question is, is there a way to utilize the API instance
app.plugins.plugins['obsidian-spaced-repetition']
to perform certain actions programmatically? In my case, I have the path string (or a TFile instance) of a note, and I'd like to review it later at one level out of three. Maybe there's a function I can invoke that takes in the path/TFile and a number (1, 2, or 3) for the level?Something along these lines:
After this is run, the note frontmatter should be updated accordingly.
Beta Was this translation helpful? Give feedback.
All reactions