Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,559,017
Community Members
 
Community Events
184
Community Groups

Why are my markdown tables not working?

Edited

Markdown tables are included in the syntax guide. However they do not appear to work with README.md files.

 

HEADER

| one | two | three |

|---|---|---|

| one | two | three |

 

3 answers

1 accepted

0 votes
Answer accepted

The problem turned out to be with prettier trying to format the table incorrectly. In order for the table to display correctly in Bitbucket, all of the borders must be aligned perfectly.

HEADER


| one | two | three |

|-----|-----|-------|

| one | two | three |

1 vote
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Nov 14, 2022

Hi Paul and welcome to the community.

You need to remove the triple backticks (unless they are part of code blocks before and after the table) and also leave a new line between HEADER and the table.

The following should work:

 

HEADER

| one | two | three |
|---|---|---|
| one | two | three |

 

Kind regards,
Theodora

The backticks were not in my actual MD file. Added them to try and format my question, but they did not work as expected on this forum.

I think the correct syntax is to have at least a space between the pipe character and the hyphens, That's how it's shown in the Markdown Syntax Guide, but it still doesn't work for me.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events