User1291
User1291

Reputation: 8179

Make Bitbucket README Markdown accept LF in place of CLRF?

I have a list created in my README.md that looks correct when I view it in Atom:

list markdown in Atom

But when I upload it to Bitbucket, this list gets completely ignored: enter image description here instead, large parts of it are in italic, indicating to me that Bitbucket doesn't recognise the LF line ending I uploaded to the repo (working on Windows with autocrlf enabled).

Is there a way that I can make Bitbucket understand the LF line endings?

Upvotes: 0

Views: 140

Answers (1)

Chris
Chris

Reputation: 136967

This has nothing to do with line endings. Put a blank line before your list:

This is a paragraph followed by

 * some
 * bullet
 * points

This is required in many Markdown processors, e.g. here on Stack Overflow. Without the blank line the preceding snippet renders as

This is a paragraph followed by * some * bullet * points

Upvotes: 4

Related Questions