+
Skip to content

Format checkboxes #1127

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

Closed
wants to merge 6 commits into from
Closed

Format checkboxes #1127

wants to merge 6 commits into from

Conversation

rscharfe
Copy link
Contributor

GitHub task lists are represented in HTML as unordered lists with checkboxes. When turned into text the checkboxes are currently ignored. This affects PRs with task lists (e.g. git/git#1359); the resulting text list has no indication anymore whether an item was checked (done) or not.

E.g. this:

  • done item
  • item still to do

Is turned into:

* done item
* item still to do

Format checkboxes by representing checked ones by "[x]" and unchecked ones by "[ ]" to keep the information of which item was done.

This turns the text result for the example above into:

* [x] done item
* [ ] item still to do

GitHub task lists are represented in HTML as unordered lists with checkboxes. When turned into text the checkboxes are currently ignored. This affects PRs with task lists (e.g. git/git#1359); the resulting text list has no indication anymore whether an item was checked (done) or not.

Format checkboxes by representing checked ones by "[x]" and unchecked ones by "[ ]" to keep the information of which item was done.
@rscharfe rscharfe closed this Oct 14, 2022
@rscharfe rscharfe deleted the patch-1 branch October 14, 2022 16:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载