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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.