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).
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 https://bugs.kde.org/show_bug.cgi?id=400529, where another user asks to have not a single textbox but a set of editable stylesheets).