You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.