Possible bug in rendering markdown lists

Evan hamrick July 9, 2019

I'm seeing that markdown (which renders just fine in Pycharm mind you) of this form:

label
* thing 1
* thing 2  

is rendered with the asterisks being interpreted as italics formatting commands.

However, when I do this:

label

* thing 1
* thing 2  

The list appears correctly.

The markdown spec says "In CommonMark, a list can interrupt a paragraph. That is, no blank line is needed to separate a paragraph from a following list" 

Happy to file a bug on this if someone could confirm I'm reading the spec correctly.

1 answer

1 accepted

2 votes
Answer accepted
Daniil Penkin
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 9, 2019

Hello @Evan hamrick

You're right about CommonMark spec and this rule, however unfortunately Bitbucket doesn't yet use CommonMark to render markdown. Right now Python-Markdown is used, here's an overview.

Let me know if you have any questions.

Cheers,
Daniil

Evan hamrick July 10, 2019

Thanks Daniil, I thought I saw a note somewhere that BB was using CommonMark but perhaps I'm getting my Atlassian products mixed up.

Daniil Penkin
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 10, 2019

No worries :)

It was probably about Bitbucket Serverit uses CommonMark. Hopefully one day Bitbucket Cloud will migrate rendering to use it too.

Cheers,
Daniil

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events