How do you add color to C# code when adding it to the body of a page?

HELP!

I am on the main page building out my documentation. I’ve added C# code as sample API calls and the source code has the colored text but when I copy it into my editor on the Spotlight page it disregards the color…how can I add it back in?

Hey there,

Have you tried specifying the language within the code block?

i.e. ```c