Markdown checkboxes in tables #2831

Open
opened 2025-11-02 04:50:10 -06:00 by GiteaMirror · 11 comments
Owner

Originally created by @ghost on GitHub (Jan 28, 2019).

Description

Checkboxes inside markdown tables are not rendered as checkboxes. See https://try.gitea.io/transferkraM/markdown-checkbox-table.

Originally created by @ghost on GitHub (Jan 28, 2019). <!-- 1. Please speak English, this is the language all of us can speak and write. 2. Please ask questions or configuration/deploy problems on our Discord server (https://discord.gg/NsatcWJ) or forum (https://discourse.gitea.io). 3. Please take a moment to check that your issue doesn't already exist. 4. Please give all relevant information below for bug reports, because incomplete details will be handled as an invalid report. --> - Gitea version (or commit ref): 1.7.0 - Git version: - Operating system: Archlinux - Database (use `[x]`): - [ ] PostgreSQL - [ ] MySQL - [ ] MSSQL - [x] SQLite - Can you reproduce the bug at https://try.gitea.io: - [x] Yes (https://try.gitea.io/transferkraM/markdown-checkbox-table) - [ ] No - [ ] Not relevant - Log gist: ## Description Checkboxes inside markdown tables are not rendered as checkboxes. See https://try.gitea.io/transferkraM/markdown-checkbox-table.
GiteaMirror added the issue/confirmedtype/bug labels 2025-11-02 04:50:10 -06:00
Author
Owner

@zamiere commented on GitHub (Feb 20, 2019):

Another issue is the dots before the checkboxes. Put an inline "list-style-type: none" on these elements.

@zamiere commented on GitHub (Feb 20, 2019): Another issue is the dots before the checkboxes. Put an inline "list-style-type: none" on these elements.
Author
Owner

@stale[bot] commented on GitHub (Apr 21, 2019):

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions.

@stale[bot] commented on GitHub (Apr 21, 2019): This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions.
Author
Owner

@ghost commented on GitHub (Apr 23, 2019):

Push.

@ghost commented on GitHub (Apr 23, 2019): Push.
Author
Owner

@grayminds commented on GitHub (May 9, 2019):

^bump

@grayminds commented on GitHub (May 9, 2019): ^bump
Author
Owner

@lunny commented on GitHub (Jan 17, 2020):

I think this has been fixed since we use goldmark. Also see the original link https://try.gitea.io/transferkraM/markdown-checkbox-table

@lunny commented on GitHub (Jan 17, 2020): I think this has been fixed since we use goldmark. Also see the original link https://try.gitea.io/transferkraM/markdown-checkbox-table
Author
Owner

@guillep2k commented on GitHub (Jan 17, 2020):

I think this has been fixed since we use goldmark. Also see the original link https://try.gitea.io/transferkraM/markdown-checkbox-table

@lunny I don't see this fixed. I expect to see checkboxes inside the table.

@guillep2k commented on GitHub (Jan 17, 2020): > > > I think this has been fixed since we use goldmark. Also see the original link https://try.gitea.io/transferkraM/markdown-checkbox-table @lunny I don't see this fixed. I expect to see checkboxes inside the table.
Author
Owner

@maria-lau commented on GitHub (Jan 25, 2020):

A couple things I've noticed:

  1. I can't interact with checkboxes in a PR. (e.g. I can't click on it to mark it done)
  2. Checkboxes are rendered with a bullet (it normally isn't rendered with one, see example below)
    • task 1
    • task 2
@maria-lau commented on GitHub (Jan 25, 2020): A couple things I've noticed: 1. I can't interact with checkboxes in a PR. (e.g. I can't click on it to mark it done) 2. Checkboxes are rendered with a bullet (it normally isn't rendered with one, see example below) - [ ] task 1 - [ ] task 2
Author
Owner

@michaesc commented on GitHub (May 20, 2020):

This bug is present in Gitea 1.11.4, and it's rather annoying. I confirm that the flaws @maria-lau stated regarding interaction and nonstandard (redundant) bullet symbols are present in the most recent release, according to changelogs since 1.11.4.

Note

It's possible that the release candidate tagged v1.12.0-rc1 solves the problem, with respect to #10798 (Completely fix task-list checkbox styling.) Nevertheless the release candidate is not a release, and it's unclear if the bug #10798 solves this problem as well.

@michaesc commented on GitHub (May 20, 2020): This bug **is present in Gitea 1.11.4**, and it's rather annoying. I confirm that the flaws @maria-lau stated regarding interaction and nonstandard (redundant) bullet symbols are present in the most recent release, according to changelogs since 1.11.4. ## Note It's possible that the **release candidate tagged v1.12.0-rc1** solves the problem, with respect to #10798 (Completely fix task-list checkbox styling.) Nevertheless the release candidate is not a release, and it's unclear if the bug #10798 solves this problem as well.
Author
Owner

@zeripath commented on GitHub (May 20, 2020):

I cannot find the spec that describes how checkboxes are supposed to work in tables. GFM doesn't appear to have these:

inside table

checkboxes description
[ ] unchecked
[x] checked

I have fixed the appearance of normal checkboxes in #10798 - I haven't backported them as we're in the midst of prepping for 1.12 - feel free however to make your own PR.

In terms of making these clickable and submittable - this is not supported as yet. Again PRs are welcome but it's not a simple thing to make work.

@zeripath commented on GitHub (May 20, 2020): I cannot find the spec that describes how checkboxes are supposed to work in tables. GFM doesn't appear to have these: ### inside table | checkboxes | description | |------------|-------------| | [ ] | unchecked | | [x] | checked | I have fixed the appearance of normal checkboxes in #10798 - I haven't backported them as we're in the midst of prepping for 1.12 - feel free however to make your own PR. In terms of making these clickable and submittable - this is not supported as yet. Again PRs are welcome but it's not a simple thing to make work.
Author
Owner

@wxiaoguang commented on GitHub (Apr 13, 2022):

GitHub

Task Time required Assigned to Current Status Finished
Calendar Cache > 5 hours in progress - [x] ok?
Object Cache > 5 hours in progress [x] item1
[ ] item2
Object Cache > 5 hours in progress
  • - [x] item1
  • - [ ] item2
Object Cache > 5 hours in progress
  • [x] item1
  • [ ] item2
  • works
  • works too

Gitea

image

@wxiaoguang commented on GitHub (Apr 13, 2022): # GitHub | Task | Time required | Assigned to | Current Status | Finished | |----------------|---------------|---------------|----------------|-----------| | Calendar Cache | > 5 hours | | in progress | - [x] ok? | Object Cache | > 5 hours | | in progress | [x] item1<br/>[ ] item2 | Object Cache | > 5 hours | | in progress | <ul><li>- [x] item1</li><li>- [ ] item2</li></ul> | Object Cache | > 5 hours | | in progress | <ul><li>[x] item1</li><li>[ ] item2</li></ul> - [x] works - [x] works too # Gitea ![image](https://user-images.githubusercontent.com/2114189/163105988-baa45b45-2ae2-49e4-ae3e-31b39a6f88c1.png)
Author
Owner

@davama commented on GitHub (Jan 5, 2024):

This would be a great feature!
Thanks!

@davama commented on GitHub (Jan 5, 2024): This would be a great feature! Thanks!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#2831