0

My question is how to customize this kind of blocks' background color?

enter image description here

1

You don't say what "this kind of block" means, or how your "blocks" were caused/created.

Anyway, it sounds like you are asking how to know which face is used for that text with the yellow background, so you can use M-x customize-face to change its appearance.

The answer to that is to put the cursor somewhere on that highlighted text and use C-u C-x =. The *Help* output will tell what faces are used at that position, for both text property face and overlay property face.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.