Feature Request: GitHub style Task Lists

Mathias Leppich's Avatar

Mathias Leppich

21 Jun, 2013 06:33 AM

Hi, first I like to thank you for developing such a great product!

I <3 markdown, so I also use it for my day to day todo-list management. Inspired by GitHubs Task List extension in GFM, which sadly is only available in Pull Requests and Issues. See: https://help.github.com/articles/github-flavored-markdown#task-lists

- [x] start new servers
- [ ] deploy new release
- ...

It would be awesome to have the same functionality build into Marked.app!

  • render Task Lists with checkboxes
  • allow check/uncheck of tasks, modifying the markdown accordingly

Mathias

  1. Support Staff 1 Posted by Brett on 21 Jun, 2013 01:15 PM

    Brett's Avatar

    I'd consider this in the future.

  2. 2 Posted by Mathias Leppich on 21 Jun, 2013 01:31 PM

    Mathias Leppich's Avatar

    Great! ...in the meantime I have hacked around via custom processor. But this only allows to render checkboxes, not to interact with them.

    See: https://gist.github.com/muhqu/5831075

  3. 3 Posted by Tyler Reinhard on 13 Jul, 2013 09:38 PM

    Tyler Reinhard's Avatar

    I'll second this request. It would be huge for me.

  4. 4 Posted by Sean on 22 Jul, 2013 01:57 AM

    Sean's Avatar

    Third-ed

  5. 5 Posted by dilmamds on 08 Aug, 2013 12:29 AM

    dilmamds's Avatar

    +1

  6. Support Staff 6 Posted by Brett on 08 Aug, 2013 12:34 AM

    Brett's Avatar

    This is a fine idea, but Marked does not alter or save files and, after consideration, I currently have no intention of making it doing so.

  7. 7 Posted by Tyler Reinhard on 08 Aug, 2013 02:17 AM

    Tyler Reinhard's Avatar

    Hey Brett, this is Tyler in Winona (we had coffee once). With respect to this GitHub style checkboxes feature ... I actually didn't mean to suggest that they'd alter the original file, just render a checkbox form element. That way you could use marked for temporary to-do lists, and save common tasks as a nvalt .md file.

    Hope this clarifies the request, thanks for the response.

    I'm on my phone, pardon the brevity.

    ## Tyler Reinhard ... http://abolish.me

  8. Support Staff 8 Posted by Brett on 08 Aug, 2013 11:19 AM

    Brett's Avatar

    It does, and I'm willing to do that.

    -Brett (on iPhone)

  9. 9 Posted by Arel Cordero on 18 Aug, 2013 12:36 AM

    Arel Cordero's Avatar

    Hi Brett,

    First of all, thanks for the great app!

    I'll also +1 this request! It was the reason I wanted a markdown app in the first place (I was hoping 99% GitHub compatibility included checkboxes), and I would love to see the feature added. I find GitHub's checkboxes extremely useful--viewing and being able to check them.

    I hope you reconsider the check/uncheck functionality! (Even if only in GitHub mode.)

    -Arel

  10. 10 Posted by dale on 02 Oct, 2013 02:38 PM

    dale's Avatar

    +1 on this as well. I don't have any need to interact with the checkboxes.

  11. Support Staff 11 Posted by Brett on 02 Oct, 2013 04:29 PM

    Brett's Avatar

    Ok, I've added it for a future update as a preference, enabled by default since I don't think too many people would use the syntax without wanting to see it rendered.

    Notes:

    I wanted to just do the replacement in the initial processing of the Markdown, but GitHub styles their resulting lists with a class on the main list that removes all the bullet points, and a class on the input items.

    I can't pass a class to a MultiMarkdown element and there's no way to normalize syntax for custom processors, so I ended up just doing it in JavaScript after loading. I think that's how GitHub is doing it anyway.

    Anyway, it's ready, should be in 2.0.1.

  12. Brett closed this discussion on 02 Oct, 2013 04:29 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac