Bug 496339 - Expand the amount of languages that are syntax-highlighted.
Summary: Expand the amount of languages that are syntax-highlighted.
Status: REPORTED
Alias: None
Product: discuss.kde.org
Classification: Websites
Component: General (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR minor
Target Milestone: ---
Assignee: KDE Forum Administrators
URL: https://discuss.kde.org/t/testing-app...
Keywords:
Depends on:
Blocks:
 
Reported: 2024-11-16 12:23 UTC by Roke Julian Lockhart Beedell
Modified: 2024-11-16 12:23 UTC (History)
1 user (show)

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


Attachments
An archive-compressed version of a static representation of the issue. (1.92 MB, application/x-xz)
2024-11-16 12:23 UTC, Roke Julian Lockhart Beedell
Details

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