octalmage / Marknote

Markdown Note Taking.
36 stars 13 forks source link

Implement checkboxes. #4

Closed octalmage closed 10 years ago

octalmage commented 10 years ago

Add support for checkboxes possibly using the "@" symbol.

Example:

@ Add share feature. 
@ Save as html support. 

I'll need to store the status of checkboxes. This can be used for todo lists, and with a duplicate note feature reusable checklists.

octalmage commented 10 years ago

I realized Github already had this, so I copied their syntax:

- [ ] Unchecked. 
- [x] Checked.

The unchecked box needs the space in between the [ ].

Preview:

Currently you cannot change the checked state by clicking (you'll need to edit it), but we could change this later. Honestly I'm fine with editing the document.

octalmage commented 10 years ago

Closing this, we can reopen it if there are any issues.