Hotkey: toggle checkbox presence

Hi, I hope I didn't miss this FR somewhere.

Feature
I would like to ask if it would be possible to add a hotkey to toggle between the following on the current line

  • [ ] I am an entry with a checkbox
  • I am an entry without a checkbox

Why
In my personal workflow I often create a list of things to do with checkboxes, and sometimes I want to have a sublist under a checkbox item without checkboxes, such as

  • [ ] Do A
    • Some info about A
    • More info about A
  • [ ] Do B

Unfortunately when I hit Enter Joplin automatically creates a checkbox entry. I understand this is the most convenient behaviour in most cases, however it would be nice to be able to switch to uncheckboxed entry easily.

Thank you!

Hello and welcome,

If you're on windows, here's a shortcut for that
Ctrl + Shift + 9 = Check box

More of similar ones are here:

I see, thank you. Unfortunately I am using Linux version of the app and it doesn't appear to have these shortcuts.

The post you linked suggests that Joplin has OS-dependent editors or shortcuts differ if TinyMCE is used under Linux. I am not quite sure how to check this other than reading the code right now.

Caveat to this is that this only applies in the richtext editor, the options in the markdown editor just straight up create the tags from scratch.
It doesn't appear that 'converting' a list item from one type to another is possible i.e. highlighting a selection and hitting the unordered list button will add and remove the - but highlighting it and pressing the ordered list will create 1. -

Which editor you are using is toggled by the button on the top right of the toolbar, it swaps you between richtext/WYSIWYG mode and markdown mode.

image

I'd really like a toggle checkbox shortcut also. I thought I had posted about it somewhere before. There's a "toggle comment" shortcut, of Ctrl / and so it'd be similar behaviour to that to just add the - [ ] at the start of a line, or remove it.

A bonus would be a second shortcut, to toggle marking a checkbox complete, so between - [ ] and - [x].

When I did google around to see if there were other threads here on this, in one of them someone suggests that "there's already a button to click." However, many might empathise that heavy keyboard users, including developers, try to do as much as possible with just the keyboard, without breaking context to use a mouse. After all, <!-- comment --> has a toggle :slight_smile:

This is a feature of the "Rich Markdown" plugin. To be honest, it's my main use for that plugin.

1 Like

Oh yes true, I do use that there. Can you add to the plugin to toggle the - [ ] in the first place? :smiley: