What is a recommended implementation for syntax highlighting

1 Answer 12 Views
General Discussions
E
Top achievements
Rank 1
E asked on 23 Apr 2024, 12:19 PM

I need to format and highlight xml and json in a view. I can not find a component within Blazor components. In other packages like WinForm there are solutions for displaying code. Any way I'm able to do this without clientside javascript solutions (like PrismJS)?

In case there is no component in the Telerik family I can use in Blazor, does anyone have a recommended setup to implement the functionality. A requirement is support for dark/light theming.

Thanks for any insights.

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 26 Apr 2024, 08:07 AM

Hi E,

I confirm that Telerik UI for Blazor doesn't provide a syntax highlighting tool. As far as I know, most such tools are JavaScript-based, with a few exiting C# wrappers.

Regards,
Dimo
Progress Telerik

Stay tuned by visiting our public roadmap and feedback portal pages! Or perhaps, if you are new to our Telerik family, check out our getting started resources!
Tags
General Discussions
Asked by
E
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or