Forum Discussion
- kyleshockeySmartBear Alumni (Retired)
Hi 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; }
- cricketicsContributor
I am using swagger online editor. Can this solution you shared works for me kyleshockey
- kyleshockeySmartBear Alumni (Retired)
cricketics it doesn't, you'd need to have your own instance of Swagger Editor deployed in order to use custom CSS.
Related Content
- 5 years ago
- 10 years ago
- 10 years ago
- 2 years ago
- 2 years ago
Recent Discussions
- 7 days ago
- 7 days ago
- 24 days ago