Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Styling inconsistency in markdown between header and Table of Contents

When viewing on bitbucket.org, there's a marked difference in whitespace between a header and the first item in a table of contents compared to between a header and the first bullet of a list. 

 

1) Should this be reported as a bug?

 

2) Any thoughts on fixing it within my document, since presumably changing the CSS is a no-go

 

Sample markdown:

```markdown

# Contents  

[TOC]

# I'm a header before a bulleted list

* Bullet 1
* Bullet 2

# Something
# More
## To
## Fill
### The
#### TOC
* With
* Items

```

 

Rendered difference (from Chrome):

toc.md.jpg

1 answer

1 accepted

1 vote
Answer accepted

Hello @Evan hamrick,

Thanks for reaching out!

Yeah looks like this can and should be fixed. I've prepared a change and will get it through soon.

Cheers,
Daniil

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket

New improvements to user management in Bitbucket Cloud 👥

Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...

4,459 views 12 15
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you