Skip to content

Support github style checkboxes #640

Description

@eric-burel

Is your feature request related to a problem? Please describe.

I use checkboxes to indicate when something as to be done, when writing slides for courses/practical applications.

According to GitHub, this belongs to their "tasklist" extension: https://github.github.com/gfm/

Describe the solution you'd like
This syntax:

- [ ] My text
- [X] Checked 

Should translate to:

<li><input type="checkbox" /> My text </li>
<li><input type="checkbox" checked/> My text </li>

and render like this (in the web version but also when exported in PDF/PNG):

  • My text
  • Checked

I am not sure about the bullet point though, however GitHub works this way currently (just using [ ] without a dash does nothing).

Describe alternatives you've considered

  • Adding - <input type="checkbox" /> manually. Not sure how it will behave after export. It doesn't render very well however, because you need a bullet point to have correct line jumps, and the text won't support inline code anymore

  • Using a square emoji also works https://emojipedia.org/search/?q=square but is not interactive

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions