The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Styling inconsistency in markdown between header and Table of Contents

Evan hamrick
July 26, 2019

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

1 vote
Answer accepted
Daniil Penkin
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 27, 2019

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

TAGS
AUG Leaders

Atlassian Community Events