Discussion:
[okular] [Bug 401022] New: okular markdown backend doesn't render lists correctly
S. Christian Collins
2018-11-14 04:56:47 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=401022

Bug ID: 401022
Summary: okular markdown backend doesn't render lists correctly
Product: okular
Version: 1.5.3
Platform: Neon Packages
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: okular-***@kde.org
Reporter: ***@hotmail.com
Target Milestone: ---

Created attachment 116299
--> https://bugs.kde.org/attachment.cgi?id=116299&action=edit
markdown file that renders incorrectly

Okular's markdown backend doesn't display lists correctly.

Steps to reproduce:
1. Open attached "test.md" file in Okular.

Result: The lists display all on a single line and the bullet character isn't
used.

Expected result: The lists should display as lists with bullets instead of
asterisks/hyphens.

SOFTWARE/OS VERSIONS
OS: KDE neon 5.14
KDE Plasma Version: 5.14.3
KDE Frameworks Version: 5.52.0
Qt Version: 5.11.2
--
You are receiving this mail because:
You are the assignee for the bug.
S. Christian Collins
2018-11-14 04:59:58 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=401022

--- Comment #1 from S. Christian Collins <***@hotmail.com> ---
Created attachment 116300
--> https://bugs.kde.org/attachment.cgi?id=116300&action=edit
example of correct markdown rendering

For comparison, here is the attached test file rendered in Typora
(https://typora.io/).
--
You are receiving this mail because:
You are the assignee for the bug.
Albert Astals Cid
2018-11-14 19:32:54 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=401022

Albert Astals Cid <***@kde.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |NOT A BUG
Status|REPORTED |RESOLVED
CC| |***@kde.org

--- Comment #2 from Albert Astals Cid <***@kde.org> ---
I'm going to close this this as "NOT A BUG".

The problem with Markdown is that it's basically broken.

See https://goo.gl/sg9rXY for the 12 different ways the file you posted can be
rendered by different markdown renderers, as far as i can see we render like
other 8 implementations (seems to be item #1) so we are "relatively standard"
as far as rendering markdown.
--
You are receiving this mail because:
You are the assignee for the bug.
S. Christian Collins
2018-11-14 19:49:26 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=401022

--- Comment #3 from S. Christian Collins <***@hotmail.com> ---
Seems like a bizarre way to render a list, and difficult to read. I'll file a
feature request instead.
--
You are receiving this mail because:
You are the assignee for the bug.
S. Christian Collins
2018-11-14 20:10:25 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=401022

--- Comment #4 from S. Christian Collins <***@hotmail.com> ---
Okay, so I discovered that the list items display on individual lines with
bullet glyphs if I add a blank line before the group of list items. I will
presume this is the intended behavior and update my markdown files accordingly.
--
You are receiving this mail because:
You are the assignee for the bug.
Loading...