| Summary: | definition lists not supported | ||
|---|---|---|---|
| Product: | [Applications] okular | Reporter: | johnathan <testing1237a-c> |
| Component: | markdown backend | Assignee: | Okular developers <okular-devel> |
| Status: | RESOLVED UPSTREAM | ||
| Severity: | normal | CC: | aacid |
| Priority: | NOR | ||
| Version First Reported In: | 23.04.1 | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | markdown file | ||
|
Description
johnathan
2023-06-02 05:17:00 UTC
For markdown support we're using a library called discount. That seems to be a problem in their implementation, you can check that by running the mkd2html yourfile.md command and seeing that the generated html is not like you want it. There's nothing we can fix here. Please report this to the discount developers at https://github.com/Orc/discount/issues and when they fix it it will immediately work in Okular. (In reply to Albert Astals Cid from comment #1) > For markdown support we're using a library called discount. > > That seems to be a problem in their implementation, you can check that by > running the > > mkd2html yourfile.md > > command and seeing that the generated html is not like you want it. > > There's nothing we can fix here. Please report this to the discount > developers at https://github.com/Orc/discount/issues and when they fix it it > will immediately work in Okular. Hey. i checked their documentation and they seem to support definition lists. https://www.pell.portland.or.us/~orc/Code/discount/#v2.0.4 In discount 2.0.4 I extended the definition list syntax to allow php markdown extra definition lists which means that source like tag1 : data now generates <dt>tag1</dt> <dd>data</dd> this is the functionality that i am saying is not present in okular. maybe our version is behind 2.0.4? can i know the version of library used in okular? can you confirm the file or your own file against documentation of discount regarding definition lists? > can i know the version of library used in okular?
we do not ship any library of the version, this is shipped by Linux whatever distribution you are using (you dind't say) so use your distribution tools to ask which discount version is installed.
> can you confirm the file or your own file against documentation of discount regarding definition lists?
I told you exactly that by running the
mkd2html yourfile.md
command you can check that the generated html file is not what you want. You can check that by yourself.
|