Skip to content

How do I colorize some YAML code without affecting background colors? #990

Answered by willmcgugan
ssbarnea asked this question in Q&A
Discussion options

You must be logged in to vote

In that last screenshot I'm pretty sure you are using the default them of "monokai" which has a non-transparent background color. Use "ansi_light" or "ansi_dark" for a transparent background.

You can force the background color to be transparent with background_color="default" although that may produce unreadable text for some terminals.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@ssbarnea
Comment options

@willmcgugan
Comment options

Answer selected by ssbarnea
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