Bug 460044 - [Feature] Improve Format of Code Blocks
Summary: [Feature] Improve Format of Code Blocks
Status: RESOLVED FIXED
Alias: None
Product: NeoChat
Classification: Applications
Component: General (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Tobias Fella
URL:
Keywords:
: 460204 (view as bug list)
Depends on:
Blocks:
 
Reported: 2022-10-06 12:04 UTC by Gergely HORVÁTH
Modified: 2024-03-27 19:40 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Code block example (277.02 KB, image/png)
2022-10-06 12:04 UTC, Gergely HORVÁTH
Details

Note You need to log in before you can comment on or make changes to this bug.
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