Stash markdown badly rendered

Hello,

We have a README.md file which is not correctly rendered into Stash.

Here is the content exemple:

#Process description#
Natura mundo caesa addidit. Cuncta habendum meis omni ille formaeque emicuit septemque et.
Cuncta habendum meis omni ille formaeque emicuit septemque et: 
- for XXXXX:
	- Alto ventos est coeptis utque fecit. Phoebe sine circumfuso arce. Tanto aliis.
	- ornua origo formaeque animal mundo. Chaos: fabricator. Natura mundo caesa 
	- Alto ventos est coeptis utque fecit. Phoebe sine circumfuso arce. Tanto aliis.
	- ornua origo formaeque animal mundo. Chaos: fabricator. Natura mundo caesa

I have test it on version 2.10.0 and the content under the line " for XXXXX" is not correctly rendered, here is what i get in the Stash markdown view:

Process description
Natura mundo caesa addidit. Cuncta habendum meis omni ille formaeque emicuit septemque et. Cuncta habendum meis omni ille formaeque emicuit septemque et: - for XXXXX: - Alto ventos est coeptis utque fecit. Phoebe sine circumfuso arce. Tanto aliis. - ornua origo formaeque animal mundo. Chaos: fabricator. Natura mundo caesa - Alto ventos est coeptis utque fecit. Phoebe sine circumfuso arce. Tanto aliis. - ornua origo formaeque animal mundo. Chaos: fabricator. Natura mundo caesa

Everything is collapsed.

Could you check if this is really a bug ?

Thanks for your help

1 answer

Hi Mickael,

We use a library called Pegdown, which handles all our mardkown rendering. It can be a little fussy about having returns in between each of the paragraphs. If you put a blank line before the first '-' it will render the list as you would expect.

I know that's not ideal, but does that help?

Charles

That blank line to mark the end of the text paragraph, separating it from the beginning of the list, is required by Markdown.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

28,613 views 26 12
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you