Bug 460044

Summary: [Feature] Improve Format of Code Blocks
Product: [Applications] NeoChat Reporter: Gergely HORVÁTH <horvathg.1988>
Component: GeneralAssignee: Tobias Fella <fella>
Status: RESOLVED FIXED    
Severity: normal CC: ahuszagh, carl, james.h.graham
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Code block example

Description Gergely HORVÁTH 2022-10-06 12:04:21 UTC
Created attachment 152616 [details]
Code block example

SUMMARY
***
Formatting of markdown code block does not really look good.
***

What I expect:
- syntax highlight,
- constraint the vertical size of the code block,
- keep line lengths untouched, don't reflow text.

See attached screenshot of a sad user experience.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.25.5
KDE Frameworks Version: 5.98.0
Qt Version: 5.15.6
Kernel Version: 5.19.11-arch1-1 (64-bit)
Graphics Platform: X11
Processors: 8 × 11th Gen Intel® Core™ i7-11370H @ 3.30GHz
Memory: 15,4 GiB of RAM
Graphics Processor: Mesa Intel® Xe Graphics
Manufacturer: TUXEDO
Product Name: TUXEDO InfinityBook Pro 14 Gen6

```sh
$ pacman -Qs neochat
local/neochat 22.09-1
    A client for matrix, the decentralized communication protocol
```
Comment 1 James Graham 2022-10-23 10:20:25 UTC
*** Bug 460204 has been marked as a duplicate of this bug. ***
Comment 2 James Graham 2024-03-27 19:40:51 UTC
Implemented here https://invent.kde.org/network/neochat/-/merge_requests/1595