integrations icon indicating copy to clipboard operation
integrations copied to clipboard

Github Files add code color option

Open DominicGBauer opened this issue 1 year ago • 2 comments

Description

Github files just show a black and white copy of the code, it would be great if we could set language and then it would change the coloring of the code to match what happens when you use a code block.

I.e. instead of this image

I can set it to Javascript and it then displays like this image

DominicGBauer avatar Feb 14 '24 09:02 DominicGBauer

It looks like this should already be enabled based on this https://github.com/GitbookIO/integrations/pull/194. Perhaps this is actually a bug @addisonschultz ?

DominicGBauer avatar Feb 14 '24 09:02 DominicGBauer

Hi @DominicGBauer - this does look like a bug right now, thank you for pointing this out! I'm going to leave this issue open for now, will try to get to this one soon!

addisonschultz avatar Feb 14 '24 13:02 addisonschultz