Skip to content

How to change the color of inline code block? #2808

Answered by PhilKeeble
seanSeungeonKim asked this question in Q&A
Discussion options

You must be logged in to vote

You could go into the css for the skin you are using and add something like:

code {
    color: orange;
}

Then you could just customise in there and it will change for all code blocks. For span code blocks like above, you can keep the normal highlighting by specifying the language after the three backticks

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by mmistakes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #2808 on February 06, 2021 01:40.