aidando73 / bitbucket-syntax-highlighting

Add syntax highlighting to your pull requests on Bitbucket
5 stars 1 forks source link

Official support for highlighting #78

Open PhenX opened 1 year ago

PhenX commented 1 year ago

Just to let you know Atlassian added the feature as "beta" : https://community.atlassian.com/t5/Bitbucket-articles/New-in-Bitbucket-Labs-Syntax-highlighting-on-pull-requests/ba-p/2307424

As of now, all languages are not supported so this plugin may still be useful, for .vue files, .cshtml and others of course

aidando73 commented 1 year ago

It was nice knowing you @PhenX

cover2

Nah haha that's good news. I actually think they're using Prism.js under the hood. They recently added prism.css to the page which clashed with this plugin. It looks like they're using the same color scheme too:

image

PhenX commented 1 year ago

Haha, yes, I also noticed this, and tried to get the full list of supported languages, but could not find the full list easily. Knowing a little how much Atlassian is slow as hell for new (wanted) features, I'm a little bit afraid of their ability to add new languages or extenion mapping (like vue, etc), that's why your plugin may still be useful for such additions.

mgrojo commented 2 weeks ago

Can this extension still be used for languages unsupported in general by Bitbucket (even not in diff mode)? I'm interested in Ada, which is not supported natively by Bitbucket, but it is provided by Prismjs.