The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
I am having some problems with a .md file not displaying code blocks properly inside my bitbucket repository. Is there a list of supported markdown code block languages available.
Languages I've tried / would like to be shown properly:
c# razor view syntax
```csharp .cshtml
React jsx syntax
```jsx
The markdown tutorial says "the 'short name' or the 'mimetype' of anything in" the list of Pygments lexers will work.
I think the syntax highlighting for file extensions is a different list from a different library.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Alan! According to our documentation, all the common coding languages are supported, including C# and JSX (for reference http://codemirror.net/mode/).
For more info you can also read Configuring syntax highlighting for file extensions.
I found this and this in our issue tracker where code that was enclosed in a code block area was treated differently, but seems like it was fixed some time ago.
Regards,
Ana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I still can't believe a company like Altassian have so poor support to these kinds of features. Yes, you actually support `jsx`, but it renders exactly like `javascript`, and... surprise! It sucks!
```jsx
import { GlobalStyles, ThemeProvider, theme } from "my-library"
const Root = () => (
<GlobalStyles>
<ThemeProvider theme={theme}>
<App />
</ThemeProvider>
<GlobalStyles>
)
```
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.