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

Default checklist item to enabled. #8562

Closed
reagle opened this issue Jan 19, 2023 · 4 comments
Closed

Default checklist item to enabled. #8562

reagle opened this issue Jan 19, 2023 · 4 comments

Comments

@reagle
Copy link

reagle commented Jan 19, 2023

Following #3051 and discussion, I request that checklist items in HTML output have the attribute disabled="" removed such that the checkbox is interactive, even if it's state is impermanent.

My use case is impermanent toggles would be helpful to me in a class or meeting where I'm using a page to go through things to discuss/do in an agenda (see attached). Real toggles would help me from missing something. 🙂

@sukiletxe
Copy link
Contributor

The problem with this would be that if you convert some GFM with Pandoc it would enable the checkboxes, which may not be what you want (checklists in GitHub are disabled). I do see your point though.

@tarleb
Copy link
Collaborator

tarleb commented Jan 19, 2023

It seems that it depends on permission whether checkboxes are disabled or enabled. It seems that I can click boxes, and GitHub even persists their status, if I have write permissions to a repository and/or post.

  • identify
  • discuss
  • implement

@reagle
Copy link
Author

reagle commented Jan 20, 2023

I always associated checkboxes with an HTML form that is associated with an HTTP POST. On Github, I assume it is just saving the markdown as [ ] or [x] within the markdown within a message or commit. In any case, I don't see why having active checkboxes would be a problem for someone wanting Github markdown...?

@sukiletxe
Copy link
Contributor

@tarleb, that makes sense, I guess I never found a checkbox which I was allowed to edit.

@reagle, I was under the impression that they were always disabled. As they are not, I guess there's no problem.

@jgm jgm closed this as completed in 62e1423 Jan 20, 2023
liruqi pushed a commit to chinapedia/pandoc that referenced this issue Mar 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants