# Moet Checklist GFM checkbox-syntax ondersteunen?

**URL:** <https://meta.discourse.org/t/should-checklist-support-gfm-checkbox-syntax/163686>\
**Category:** Feature\
**Tags:** checklist\
**Created:** [3 september 2020 om 16:02 UTC](https://meta.discourse.org/t/should-checklist-support-gfm-checkbox-syntax/163686 "2020-09-03T16:02:09Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![k4rtik](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/k4rtik/32/119508_2.png) [@k4rtik](https://meta.discourse.org/u/k4rtik)\
**Post date:** [10 september 2020 om 21:12 UTC](https://meta.discourse.org/t/should-checklist-support-gfm-checkbox-syntax/163686/5 "2020-09-10T21:12:48Z")

</div>

> [@Discourse Checklist](https://meta.discourse.org/t/discourse-checklist/36362/193):
>
> This line should if the checkbox is in the first three characters of the line. I just checked the regex and it appears to match correctly.

Don’t checklists always start with a bullet marker (`*` or `-`) first [[1](https://github.github.com/gfm/#task-list-items-extension-), [2](https://docs.github.com/en/github/managing-your-work-on-github/about-task-lists#creating-task-lists)], so that the regex should match:  
`- [\*]`  
which means this gets skipped because it is not in the first three characters anymore.

> [@k4rtik](#):
>
> The pages I am seeing all have the checkboxes at the beginning of the line.

I later found other cases where I have nested checkboxes as well. So assuming they are the beginning of the line will also skip a lot of valid use cases.

PS: I realized the OP here does not use GFM checklist syntax (but only as of Aug 4 with the change to wiki by @sam), but I have been using that since forever. CommonMark spec that Discourse seems to refer to for markdown documentation [doesn’t seem to support checklists yet](https://talk.commonmark.org/t/support-for-gfm-like-checkboxes/2007). Is Discourse inventing its own variant of the checklist syntax? I would prefer sticking to the widely popular GFM syntax instead of diversifying it further.

---

_[View the full topic](https://meta.discourse.org/t/should-checklist-support-gfm-checkbox-syntax/163686)._
