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

Partially checked / indeterminate checkboxes #5147

Open
1 of 3 tasks
sphh opened this issue May 7, 2024 · 0 comments
Open
1 of 3 tasks

Partially checked / indeterminate checkboxes #5147

sphh opened this issue May 7, 2024 · 0 comments
Labels
enhancement This is an enhancement to a feature of Zettlr.

Comments

@sphh
Copy link

sphh commented May 7, 2024

Description

Whereas Markdown does not support partially checked checkboxes (or tri-state checkboxes), some applications does. One usage example would be an item in a to-do list:

  • [ ] Item not started
  • [.] In progress
  • [x] Finished

Proposed Changes

Add a third state to checkboxes to mark it as ‘in progress’ or ‘indeterminate’. Some examples for the syntax I found are:

  • [.]
  • [-]
  • [~]
  • [o]

Clicking on the checkbox should cycle from [ ][.][x][ ]

Caveats

I could not find a unicode character for such a checkbox. A possible way to render it could be to just change the colour – or do not render it at all, if there is another character beside and x between the brackets (in that way, the user can decide what to put there). HTML5 has the indeterminate = true attribute.

Do you Wish to Attempt Implementing this Yourself?

No

Zettlr Version

Stable (most recent version)

Your Platform

  • Windows
  • macOS
  • Linux

Operating System Version

Linux Mint 21.3

Additional Information

No response

@sphh sphh added the enhancement This is an enhancement to a feature of Zettlr. label May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement This is an enhancement to a feature of Zettlr.
Projects
None yet
Development

No branches or pull requests

1 participant