Forum Discussion
kyleshockey
Alumni
7 years agoHi cricketics!
We recently changed the code block styling to be more consistent throughout Swagger UI - previously, the styling differed based on where your code block was in your document.
We may change it again in the future, as there's a larger review of our design and UX going on.
In the meantime, here's some custom CSS that may restore the functionality you want:
.swagger-ui .markdown code, .swagger-ui .renderedMarkdown code {
color: white;
background-color: black;
}