Closed kuranari closed 11 months ago
I have updated markdown-enter-key to delete empty checkboxes. I think this action is better, similar to how GitHub's issue editor handles it.
markdown-enter-key
When pressing enter on an empty checkbox list, the list should be deleted.
A new list with a checkbox is added to the next line.
When I pressed enter on an empty checkbox item (with the cursor located after the checkbox),
- [x]
a new list item was added, resulting in the following:
- [x] - [ ]
make test
Thanks
Description
I have updated
markdown-enter-key
to delete empty checkboxes. I think this action is better, similar to how GitHub's issue editor handles it.Issue
Expected Behavior:
When pressing enter on an empty checkbox list, the list should be deleted.
Actual Behavior:
A new list with a checkbox is added to the next line.
Steps to Reproduce
When I pressed enter on an empty checkbox item (with the cursor located after the checkbox),
a new list item was added, resulting in the following:
Type of Change
Checklist
make test
).