Deck: Support checkboxes in markdown

Created on 20 Feb 2017  路  10Comments  路  Source: nextcloud/deck

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.

enhancement frontend good first issue hacktoberfest

Most helpful comment

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

All 10 comments

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

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.

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

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

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

Count me in on the Checkbox idea!

and a BIG THANK YOU!

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

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

@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 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?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

juliushaertl picture juliushaertl  路  4Comments

NebriBlackwing picture NebriBlackwing  路  4Comments

Dubidubiduu picture Dubidubiduu  路  3Comments

funky123 picture funky123  路  4Comments

langfingaz picture langfingaz  路  3Comments