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
Currently, you can toggle the checkbox state between two values. For example:
require("obsidian").util.toggle_checkbox() -- toggles only between "[ ]" and "[x]"require("obsidian").util.toggle_checkbox({"", ">"}) -- toggles only between "[ ]" and "[>]"
It would be great if I could set the checkbox state directly to a certain value, without toggling it:
require("obsidian").util.set_checkbox(">") -- sets to "[>]" regardless of the current value
The motivation for this is to use shortcuts to quickly change the state to any value. Example from real life - the task is done, but I discovered something and I need to follow up on it. I would like to change "[x]" to "[>]" directly in one click.
Alternatives
No response
Additional context
No response
The text was updated successfully, but these errors were encountered:
🚀 The feature, motivation and pitch
Currently, you can toggle the checkbox state between two values. For example:
It would be great if I could set the checkbox state directly to a certain value, without toggling it:
The motivation for this is to use shortcuts to quickly change the state to any value. Example from real life - the task is done, but I discovered something and I need to follow up on it. I would like to change "[x]" to "[>]" directly in one click.
Alternatives
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: