Add support for markdown "checkboxes"
See original GitHub issueWhen submitting an issue here on github, I am able to make lists with “checkboxes” which can be checked/unchecked.
For example, using:
- [ ] an example issue
- [x] a completed issue
will output:
- an example issue
- a completed issue
Can a similar feature be added (without the fancy rendering)? Where one can insert a “checkbox” using a keyboard shortcut, and then check/uncheck it using another?
Example screenshot:
Issue Analytics
- State:
- Created 7 years ago
- Reactions:2
- Comments:14 (8 by maintainers)
Top Results From Across the Web
How to draw checkbox or tick mark in GitHub Markdown table?
Try adding a - before the [] or [x] . That's an - followed by a blank space . Below is an example...
Read more >Markdown Checkboxes - Visual Studio Marketplace
Adds checkbox support to the built-in markdown preview. Installation. Launch VS Code Quick Open ( Ctrl+P ), paste the following command, ...
Read more >Learn Markdown Github checkbox - alias Tasks list
This tutorial covers Learning Markdown checkbox - Tasks list, checkbox ,nested checkboxes,inside table,escape characters and emojis content with syntax and ...
Read more >Markdown Checkbox - Linux Hint
Markdown is an excellent markup language for writing well-formatted and minimal documents. This article explains how to create checkboxes in Markdown.
Read more >Add support for checkboxes made in markdown.
[ ] example that should become an checkbox for this test here but is not. Otherwise the markdown on bitbucket is about to...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Just pushed this to the checkbox-support branch. if you press <kbd>ctrl + /</kbd>, it will add an empty checkbox to the beginning of the current line (prepended by any whitespace you already have, so indented lists work) . pressing <kbd>ctrl + /</kbd> again will toggle the checkbox to checked and unchecked.
What this doesn’t do is append the checkbox after any “list” items such as * or -, it will instead add the checkbox before the list item but after any whitespace at the beginning of the line. To me this looks better (and it’s less code to write and maintain, so double win). Let me know what you think @evolutionxbox!
I’ve had this on my personal list as well! I like it a lot but haven’t looked into it yet as it’s changing text content. If it’s doable in a non-hacky way, I’ll try and add it.