[okular] [Bug 426682] New: CSS support in the Markdown backend
Sasha Unspecified
bugzilla_noreply at kde.org
Fri Sep 18 12:13:08 BST 2020
https://bugs.kde.org/show_bug.cgi?id=426682
Bug ID: 426682
Summary: CSS support in the Markdown backend
Product: okular
Version: 1.9.3
Platform: Ubuntu Packages
OS: Linux
Status: REPORTED
Severity: wishlist
Priority: NOR
Component: general
Assignee: okular-devel at kde.org
Reporter: sasha2048 at gmail.com
Target Milestone: ---
SUMMARY
The Markdown Library (mkd_functions,
https://manpages.debian.org/stretch/libmarkdown2-dev/mkd-functions.3.en.html)
supports extracting the CSS sections from a markdown document via mkd_css. The
Markdown Backend for Okular doesn't use that function. It should.
STEPS TO REPRODUCE
1. Create a markdown document with a stylesheet, e.g. “<style type="text/css">*
{color: red !important}</style> Hello”.
2. Open the markdown document with Okular.
OBSERVED RESULT
Stylesheet is ignored.
EXPECTED RESULT
Stylesheet is taken into account.
SOFTWARE/OS VERSIONS
Operating System: Kubuntu 20.04
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.68.0
Qt Version: 5.12.8 (built against 5.12.8)
Kernel Version: 5.4.0-47-generic
OS Type: 64-bit
ADDITIONAL INFORMATION
Additionally it would be good for the configuration window of the Markdown
backend to allow to specifying custom/user CSS (via a multiline textbox) to be
included into EVERY document (see also #400529, where another user asks to have
not a single textbox but a set of editable stylesheets).
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Okular-devel
mailing list