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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

1,737 views 1 5
Read article

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