Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

YAML increment/decrementer #39

Open
andyconlin opened this issue May 17, 2021 · 3 comments
Open

YAML increment/decrementer #39

andyconlin opened this issue May 17, 2021 · 3 comments

Comments

@andyconlin
Copy link

@andyconlin andyconlin commented May 17, 2021

I've been thinking on the idea of a way to increment or decrement a value in YAML frontmatter. It's something I may work on eventually, but then I came across your plugin (a great idea, by the way!) and thought it would make an excellent pairing, if you think it sounds worthwhile.

I may eventually work on such an idea if I get the urge to work on a plugin, but if you want to make it part of buttons, I won't complain!

@andyconlin
Copy link
Author

@andyconlin andyconlin commented May 17, 2021

I suppose more broadly speaking, it would be helpful to have actions that could do other CRUD actions on frontmatter. That way it's more abstracted and allows a user more flexibility with Buttons.
I've mentioned this feature request in this thread. Really, a frontmatter-CRUD API would be wonderful, either (ideally) in the Obsidian plugin API or as a standalone plugin that other plugins can take advantage of.

@shabegom
Copy link
Owner

@shabegom shabegom commented May 18, 2021

Have you seen the super cool MetaEdit plugin? I think it will serve some of your needs here:

https://github.com/chhoumann/MetaEdit

@andyconlin
Copy link
Author

@andyconlin andyconlin commented May 18, 2021

Ahh, thank you @shabegom! I hadn't seen that. I can definitely make use of MetaEdit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants