Bug 430382 - Markdown ToDo Lists are not shown correctly
Summary: Markdown ToDo Lists are not shown correctly
Status: RESOLVED UPSTREAM
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 1.11.3
Platform: Manjaro Linux
: NOR wishlist
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-12-14 16:10 UTC by Lorenz Hoffmann
Modified: 2020-12-15 13:40 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lorenz Hoffmann 2020-12-14 16:10:52 UTC
SUMMARY
Markdown ToDo lists are rendered as unsorted lists with bullet points instead of checkboxes

STEPS TO REPRODUCE
1. Create a markdown document
2. Write a TODO list (- [ ] ...)

OBSERVED RESULT
The list is displayed like an unsorted list and every entry starts with [ ] or [x]

EXPECTED RESULT
An unsorted list with checkboxes instead of bullet points where the checkbox checked or not, depending on whether there is an `x` or a space between the square brackets.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 5.20.4
(available in About System)
KDE Plasma Version: 5.20.4
KDE Frameworks Version: 5.76.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
This is a feature request since TODO lists are not really part of Markdown it seems.
Comment 1 Yuri Chornoivan 2020-12-14 16:43:46 UTC
Okular uses Discount library to process Markdown files. It would be better to report the bugs against Discount:

https://github.com/Orc/discount/issues

The bug will be fixed faster if there will be a minimal working (non-working example) attached. You can test it locally using

markdown test.md

in console.
Comment 2 Lorenz Hoffmann 2020-12-15 13:40:17 UTC
(In reply to Yuri Chornoivan from comment #1)
> Okular uses Discount library to process Markdown files. It would be better
> to report the bugs against Discount:
> 
> https://github.com/Orc/discount/issues

Seems like there is already an issue for this:
https://github.com/Orc/discount/issues/205

Even better, it seems to be finished and gets released with v3, very cool!