Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

bitbucket.org markdown is not rendering markdown files properly

Amit Barik January 17, 2021

Hi everyone,

I have valid markdown text (see blow) committed to my bitbucket and stored as `test.md` file. But when viewing this file from bitbucket.org, its not rendering correctly

The issue mainly happens with bullet points and block quotes

 

This is the text in the `test.md`

 

```

# Hello World

Bullet points:
- pt1
> - blockquote1
> - blockquote2
- pt2
> - blockquote3

```

As you can see, using any normal markdown editor, the rendering works fine (e.g. https://dillinger.io/)Screen Shot 2021-01-17 at 6.30.32 PM.png

Screen Shot 2021-01-17 at 6.30.27 PM.png

 

1 answer

1 vote
Pramodh M
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 17, 2021

Hi @Amit Barik 

This should work fine :-)

'''

# Hello World

Bullet points:

* pt1

> blockquote1

> blockquote2

* pt2

> blockquote3

'''

Thanks,
Pramodh

Pramodh M
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 17, 2021

FYI, the rendering

Markdown.png

Thanks,
Pramodh

Amit Barik January 17, 2021

Thanks, but it works only with newlines in between every bullet points and block quote. 

It still doesn't work without any newlines. (And I don't think that's a standard in markdown as other renderers online work just fine without newlines)

Pramodh M
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 17, 2021

Hi @Amit Barik 

The closest I could come to without newlines

'''
# Hello World
Bullet points:

* pt1
* > blockquote1
* > blockquote2
* pt2
* > blockquote3
'''

Thanks,
Pramodh

Amit Barik January 18, 2021

Thanks @Pramodh M ,

I think i found the bug. bitbucket markdown renderer doesn't work with 4-space indentation for child bullets. can this be fixed (since other renderers like github n online ones work)?

 

```

# Hello World

- pt1
    - subpt1 (4 space) - works
- pt2
    > - bq0 (4 space) - doesn't work
- pt3
   > - bq1 (3 space) - works
  > - bq2 (2 space) - works

```

 

Screen Shot 2021-01-18 at 7.51.34 AM.pngScreen Shot 2021-01-18 at 7.51.39 AM.png

Like Pramodh M likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events