Bad syntax highlighting on Luau and C# Comarison page

All of the C# snippets have bad syntax highlighting that doesn’t seem to be set correctly.

Here are just two examples, but almost every C# snippet has an issue. The Luau snippets are highlighted without issue.


Example 1: Comments


Example 2: Strings (particularly bad!!)

Page URL: https://create.roblox.com/docs/luau/luau-csharp-comparison

2 Likes

I think that they’re actually using the Luau syntax highlighting, it’s global across the entire site

1 Like

Thank you for reporting this. I’ll let our documentation team know about this issue. Note that now you can also propose changes to the docs using the “Edit” button in the upper right corner of the documents. In this case the problem seems to be with the highlighter itself, the language is marked correctly in the docs markdown.

2 Likes

The improper highlighting on these C# samples is now fixed! Thanks again for reporting the issue.

3 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.