[okular] [Bug 453082] New: Okular could support syntax color annotation for code blocks
bugzilla_noreply at kde.org
bugzilla_noreply at kde.org
Wed Apr 27 09:42:54 BST 2022
https://bugs.kde.org/show_bug.cgi?id=453082
Bug ID: 453082
Summary: Okular could support syntax color annotation for code
blocks
Product: okular
Version: 21.12.3
Platform: Debian testing
OS: Linux
Status: REPORTED
Severity: wishlist
Priority: NOR
Component: markdown backend
Assignee: okular-devel at kde.org
Reporter: tnemeth at free.fr
Target Milestone: ---
SUMMARY
Displaying a markdown file having annotated code blocks could be more beautiful
if syntax highlight were used.
Blockquotes could also benefit of a different hightlight...
STEPS TO REPRODUCE
1. Create a markdown file using anontated code and citation blocks, eg:
------8<------8<------
Create a source file `hello.c`:
```C
#include <stdio.h>
int main(void)
{
print("Hello world\n");
return 0;
}
```
Build the source:
```Shell
gcc -o hello hello.c
```
A quote from Confucius who said:
> Demand a lot from yourself and expect little from others. This will save you a lot of trouble.
...
------8<------8<------
2. Display the markdown file in Okular
OBSERVED RESULT
No syntax highlight on source code blocks, no emphasis on the quote.
EXPECTED RESULT
Beautiful code with fixed-size fonts and syntax highlight for code blocks,
something nice for the quote.
SOFTWARE/OS VERSIONS
Windows: N/A
macOS: N/A
Linux/KDE Plasma: 5.17.0-1-amd64
(available in About System)
KDE Plasma Version: 5.24.4
KDE Frameworks Version: 5.90.0
Qt Version: 5.15.2
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Okular-devel
mailing list