You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@allura.apache.org by Shalitha Suranga <sh...@gmail.com> on 2018/08/18 17:41:16 UTC

[allura:tickets] #8085 Add support for checkboxes to the markdown convertor

Hi 

I tried to work with this issue. This can be done but issue is ForgeLinkTreeProcessor's articat linking also converts [ ] to links. How we can solve the issue


---

** [tickets:#8085] Add support for checkboxes to the markdown convertor**

**Status:** open
**Milestone:** unreleased
**Created:** Thu May 19, 2016 08:58 PM UTC by Rohan Verma
**Last Updated:** Sat Aug 18, 2018 05:40 PM UTC
**Owner:** Rohan Verma


Checkboxes can be rendered from [ ] and [x]

It is useful for maintaining lists and TODOs


---

Sent from forge-allura.apache.org because dev@allura.apache.org is subscribed to https://forge-allura.apache.org/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at https://forge-allura.apache.org/p/allura/admin/tickets/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.

[allura:tickets] Re: #8085 Add support for checkboxes to the markdown convertor

Posted by Dave Brondsema <da...@brondsema.net>.
Hi Shalitha,

I haven't tried this myself, so I'm not sure what all the challenges will be exactly, but I looked into it a little bit right now.  The ForgeLinkTreeProcessor code adds `[` and `]` around existing links like `[SomeWikiPage]`, so shouldn't affect `[ ]` and only maybe `[x]` if there is a page called `x`.  It could be customized to inspect the node properties & text more if needed to apply only in certain situations.

It looks like there is an extension for markdown to implement the checkbox idea, might be good to try using that rather than writing something from scratch: https://github.com/FND/markdown-checklist


---

** [tickets:#8085] Add support for checkboxes to the markdown convertor**

**Status:** open
**Milestone:** unreleased
**Created:** Thu May 19, 2016 08:58 PM UTC by Rohan Verma
**Last Updated:** Sat Aug 18, 2018 05:41 PM UTC
**Owner:** Rohan Verma


Checkboxes can be rendered from [ ] and [x]

It is useful for maintaining lists and TODOs


---

Sent from forge-allura.apache.org because dev@allura.apache.org is subscribed to https://forge-allura.apache.org/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at https://forge-allura.apache.org/p/allura/admin/tickets/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.