deck icon indicating copy to clipboard operation
deck copied to clipboard

Support checkboxes in markdown

Open EtiennePasteur opened this issue 9 years ago • 10 comments

Hello, First, thanks for you great work !

I would like to know if you plan to support markdown ? I mean like for github issue but for card details ? It would be a great improvement 😄


edit: see https://github.com/juliushaertl/deck/issues/53#issuecomment-281284106


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

EtiennePasteur avatar Feb 20 '17 08:02 EtiennePasteur

Markdown is already usable inside the card description field. :)

juliusknorr avatar Feb 20 '17 16:02 juliusknorr

Oh !! Sorry I have only try something like that : - [ ] To make checkbox and I don't try anything else 😂 I'm sorry to have wasted your time.

Thanks.

EtiennePasteur avatar Feb 20 '17 17:02 EtiennePasteur

No problem, having those checkboxes would be nice btw.

I guess we could easily integrate a plugin for markdown-it there: https://www.npmjs.com/package/markdown-it-task-checkbox

juliusknorr avatar Feb 21 '17 09:02 juliusknorr

That would be very useful :-) please add an Progress Indicator in the Card too. (Like on Trello) image

icegeist7 avatar Mar 20 '17 15:03 icegeist7

Thanks for your amazing work, I would also be very interested by checkboxes and progress indicator :D

NinaNC avatar Apr 04 '17 13:04 NinaNC

Count me in on the Checkbox idea!

and a BIG THANK YOU!

wgregori avatar Apr 14 '17 15:04 wgregori

I haven't done anything like that but i like deck and want to contribute something, so i will look in it 👍

moritz31 avatar May 08 '17 10:05 moritz31

@moritz31 Great. If you need any help, feel free to ask.

juliusknorr avatar May 08 '17 13:05 juliusknorr

@juliushaertl have added markdown-it-checkbox to bower.json package.json and in main.html to the top add part But hard to figure out where the render should be called any hints?

edit: Seems like something is destroying the parser Added .use(markdownitCheckbox) to the confing.js [ ] and [x] seems like get recognized but get removed Only the text behind is inserted with <label> </label> Attribute like it should without the [ ] it is inserted with the normal <p> </p> Tags

moritz31 avatar May 09 '17 12:05 moritz31

@moritz31 From a first look i would say that this is because angular-markdown-it uses some sanitize method. Can you push your working branch to the repo, so I can have a more detailed look?

juliusknorr avatar May 09 '17 16:05 juliusknorr