[kdepim] [Bug 406366] Markdown addon: please add support for --github-checkbox

avlas bugzilla_noreply at kde.org
Mon Apr 15 14:03:23 BST 2019


https://bugs.kde.org/show_bug.cgi?id=406366

--- Comment #3 from avlas <jsardid at gmail.com> ---

This is set by default now in Discount v3 branch, which is great. An example of
this is the following:

### This is my list:

- [x] this is set
- [ ] this is not
- and this is a regular list item.

However, to make it work as expected (i.e. removing dots from the checkboxes
and aligning) it requires:

- either adding to the file/email:

<style>
.github_checkbox { list-style-type: none; margin-left: -1.5em; }
</style>

this option works when converting via: markdown -style < checkbox.md >
checkbox.html

- or (much better option) to create a css file with:

.github_checkbox { list-style-type: none; margin-left: -1.5em; }

this option works when converting via: mkd2html -css checkbox.css checkbox.md

Do you think it be possible to add an option to set a css for mkd2html
conversion (and perhaps add this by default), so that the final user doesn't
have to be aware, neither repeat this for every email? 

The css option could also be interesting for:

- styling code highlighting?

- table/blockquote format

[I opened issues in Discount regarding the style of tables and blockquotes. I
hope this will be considered to look similar to github/markdown here. if so, I
will let you know].

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kdepim-bugs mailing list