How do I change the font and colors used in code displays?
Hi Doug! Colors and fonts used for code highlighting on Bitbucket can not be customized.
You can choose the language you're using for your repo and that will determine how the code will be displayed, but you can not change it.
If you'd like, you can submit a feature at bitbucket.org/site/master (if you're using Bitbucket Cloud) or jira.atlassian.com (if you're using Bitbucket Server)
Best regards!
Ana
@Ana RetamalIn the latest version, the PR code font is very very small, we cannot change it and if we zoom out, everything breaks apart, I cannot even comment properly.
Also the font you guys choose is not a programming font, why not use the common ones like Consolas, DejaVu, etc?
Really, is there a workaround for this? The PRs are a nightmare because of this.
Thanks
same here: it gives me migraines.
if you open dev tools you can mostly fix it by changing the font size in the css; but it's not ideal.
I've posted a suggestion to remove Courier from the font list, it's definitely not a programming font. https://jira.atlassian.com/browse/BSERV-13353
Installing Roboto Mono improved my BitBucket experience a lot. Other fonts in the list have restrictive licenses.
It looks like you're new here. Sign in or register to get started.