Interactivity for task lists? #718
-
Hi. 👋 Is it possible to enable an extension or an option for MyST that would enable checkboxes to have interactivity (toggle between check and unchecked) when rendered out? That is, is is possible to have - [x] item A
- [ ] item B which gets rendered out by GitHub as
to have the same ability to click on the checkbox once rendered and switch it check status? I think the answer is no, as I don't think this behavior is in the CommonMark spec but I thought I would ask in the event that there is some sort of community extension that exists to handle this. Apologies in advance if this has been discussed before. I couldn't find any good results when searching on "checkboxes" in GitHub Issues or Discussions. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Heya, there is an extension for task lists: https://myst-parser.readthedocs.io/en/latest/syntax/optional.html#task-lists My question would be, what would be your use case for the interactivity? |
Beta Was this translation helpful? Give feedback.
Heya, there is an extension for task lists: https://myst-parser.readthedocs.io/en/latest/syntax/optional.html#task-lists
But it does not currently have interactivity.
My question would be, what would be your use case for the interactivity?
With GitHub toggling, it permanently changes the content of the comment text.
But obviously readers of a jupyter book website could not directly change the source text of the file on the GitHub repository.