Bug 496339

Summary: Expand the amount of languages that are syntax-highlighted.
Product: [Websites] discuss.kde.org Reporter: Roke Julian Lockhart Beedell <4wy78uwh>
Component: GeneralAssignee: KDE Forum Administrators <forum-admin>
Status: REPORTED ---    
Severity: minor CC: kde-www
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
URL: https://discuss.kde.org/t/testing-application-first-use-experience/25601/2?u=rokejulianlockhart#:~:text=import%20os,the%20cross%2Dposter%20omitting%20it?
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: An archive-compressed version of a static representation of the issue.

Description Roke Julian Lockhart Beedell 2024-11-16 12:23:46 UTC
Created attachment 175857 [details]
An archive-compressed version of a static representation of the issue.

SUMMARY
-------

Please support rendering more programming and markup languages with syntax highlighting. As [a comment of mine][1] explains, this should be as simple as [enabling the languages in the Discourse configuration GUI][2].

[1]: https://discuss.kde.org/t/testing-application-first-use-experience/25601/2?u=rokejulianlockhart
[2]: https://meta.discourse.org/t/configure-which-programming-languages-are-available-for-syntax-highlighting/239717/1?u=rokejulianlockhart

STEPS TO REPRODUCE
------------------

Create a fenced code block with any of the valid `python3`-file designations, like <code>```py</code>, like [a recent blog entry][3] does.

[3]: https://discuss.kde.org/t/testing-application-first-use-experience/25601/1?u=rokejulianlockhart#:~:text=own%20separated%20instance.-,Automation,-Given%20the%20above

OBSERVED RESULT
---------------

The syntax is not colour-highlighted.

EXPECTED RESULT
---------------

It should be.

SOFTWARE/OS VERSIONS
--------------------

> ```YAML
> Operating System: Fedora Linux 41
> KDE Plasma Version: 6.2.3
> KDE Frameworks Version: 6.8.0
> Qt Version: 6.8.0
> Kernel Version: 6.11.7-300.fc41.x86_64 (64-bit)
> Graphics Platform: Wayland
> Processors: 12 × AMD Ryzen 5 7600X 6-Core Processor
> Memory: 30.4 GiB of RAM
> Graphics Processor: AMD Radeon RX 5700
> Manufacturer: ASRock
> Product Name: X670E Taichi
> ```