Bug 419663 - markdown rendering of itemizations
Summary: markdown rendering of itemizations
Status: RESOLVED UPSTREAM
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 1.9.3
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-05 08:39 UTC by Reissner
Modified: 2020-04-20 09:47 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Reissner 2020-04-05 08:39:01 UTC
SUMMARY
rendering markdown works except lists

STEPS TO REPRODUCE
1. open a md file with content 
normal line
- first item 
- second item
2. 
3. 

OBSERVED RESULT
the - is displayed litteraly

EXPECTED RESULT

there should be an itemization. 
Note that the result is ok if there is a blank line preceeding the itemization 

SOFTWARE/OS VERSIONS

Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 86_64 5.6.0
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Yuri Chornoivan 2020-04-05 08:57:10 UTC
Actually, Okular just uses discount to render markdown code.

https://www.pell.portland.or.us/~orc/Code/discount/

Can you check with the latest Discount if

markdown -o test.html <your_file>.md

renders the file as you wish?

If so, please attach an example of the code to trigger the bug.

Thanks in advance for your answers.
Comment 2 Bug Janitor Service 2020-04-20 04:33:10 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Reissner 2020-04-20 08:23:45 UTC
(In reply to Yuri Chornoivan from comment #1)
> Actually, Okular just uses discount to render markdown code.
> 
> https://www.pell.portland.or.us/~orc/Code/discount/
> 
> Can you check with the latest Discount if
> 
> markdown -o test.html <your_file>.md
> 
> renders the file as you wish?
> 
> If so, please attach an example of the code to trigger the bug.
> 
> Thanks in advance for your answers.


has the same problem. 
I want to add, that the problem disappears if a blank line is inserted 
before the first line with "-". 
For me `markdown -version` yields 2.2.4.
Comment 4 Yuri Chornoivan 2020-04-20 08:29:46 UTC
(In reply to Reissner from comment #3)
> (In reply to Yuri Chornoivan from comment #1)
> > Actually, Okular just uses discount to render markdown code.
> > 
> > https://www.pell.portland.or.us/~orc/Code/discount/
> > 
> > Can you check with the latest Discount if
> > 
> > markdown -o test.html <your_file>.md
> > 
> > renders the file as you wish?
> > 
> > If so, please attach an example of the code to trigger the bug.
> > 
> > Thanks in advance for your answers.
> 
> 
> has the same problem. 
> I want to add, that the problem disappears if a blank line is inserted 
> before the first line with "-". 
> For me `markdown -version` yields 2.2.4.

Please report the bug against Discount. Thanks.

https://github.com/Orc/discount/issues
Comment 5 Reissner 2020-04-20 09:47:53 UTC
(In reply to Yuri Chornoivan from comment #4)
> (In reply to Reissner from comment #3)
> > (In reply to Yuri Chornoivan from comment #1)
> > > Actually, Okular just uses discount to render markdown code.
> > > 
> > > https://www.pell.portland.or.us/~orc/Code/discount/
> > > 
> > > Can you check with the latest Discount if
> > > 
> > > markdown -o test.html <your_file>.md
> > > 
> > > renders the file as you wish?
> > > 
> > > If so, please attach an example of the code to trigger the bug.
> > > 
> > > Thanks in advance for your answers.
> > 
> > 
> > has the same problem. 
> > I want to add, that the problem disappears if a blank line is inserted 
> > before the first line with "-". 
> > For me `markdown -version` yields 2.2.4.
> 
> Please report the bug against Discount. Thanks.
> 
> https://github.com/Orc/discount/issues

I do, thanks.