Checkboxes not working with markdown in Bitbucket
Asked Answered
O

3

9

I have the following code for checkboxes,


### Pre-requisites

- [ ] You should have done the Verilog parsign of all the files (../parse_verilog/)
- [ ] You should have generated CDFGs for all the modules (../gen_cdfg/)

which appears in Bitbucket like the following (with bullets instead of checkboxes) bullets

What could be the reason?

Update (2-Jul-2020) If Bitbucket enables this feature, please post a comment below.

Orchidectomy answered 5/5, 2019 at 8:6 Comment(0)
W
10

Checkboxes are a non-standard Markdown feature, which are not supported by most Markdown implementations. Bitbucket documents their Markdown implementation here.

Bitbucket Server uses Markdown for formatting text, as specified in CommonMark (with a few extensions).

Note that Commonmark does not include support for checkboxes, and they are not listed among the extensions in Bitbucket's documentation. Therefore, it should be safe to assume that they are not supported.

Warmup answered 5/5, 2019 at 20:52 Comment(0)
K
3

One can add checkboxes by converting comments into tasks (Create Task button).

Example follows:

enter image description here

Kinson answered 10/11, 2021 at 9:39 Comment(0)
R
0

I know this is a pretty old issue, but it came up when I searched for the same thing. Bitbucket supports "tasks" being added to comments. What you do is create the comment first, then use the "Create task" option on the comment to add a checkbox. It has the added benefit of being a soft-block for the PR. You have to check the box before it will let you merge.

More info here: https://bitbucket.org/blog/introducing-pull-request-tasks

Rexrexana answered 17/8, 2023 at 22:25 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.