question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add support for markdown "checkboxes"

See original GitHub issue

When 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:

screen shot 2016-11-01 at 15 53 45

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:2
  • Comments:14 (8 by maintainers)

github_iconTop GitHub Comments

3reactions
Kiliancommented, Nov 7, 2016

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.

checkboxes

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!

1reaction
Kiliancommented, Nov 1, 2016

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found