Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,299,759
Community Members
 
Community Events
165
Community Groups

named anchor not working in markdown inside readme.md on Bitbucket

Edited

I want to put a named anchor inside a title of a Bitbucket README.MD file. Here's my markdown:

## <a name="configure"></a>Configure

This renders as:

<a name="configure"></a>Configure

I want it to not render the <a> tag, just the title. Putting the named anchor outside of the title also doesn't work, by the way: it's rendered as text.

2 answers

@Ana Retamal - I find in bit-bucket on prem that the following works:

Take me to <a href="#pookie">pookie</a>
... 

<a name="pookie">this is pookie</a>

 but not when using id tag instead of name, as in:

Take me to <a href="#pookie">pookie</a>
... 

<a id="pookie">this is pookie</a>

although according to my understanding from reading some discussion  either should be legal.

Is there an issue I can support that would get either to work for Bitbucket on-prem?

Thanks!

SAme here, I would like to get anchors working in Bitbucket Server.

0 votes
Ana Retamal Atlassian Team May 25, 2018

Hi Max, I'm afraid Bitbucket doesn't support that at the moment. We have a feature request for it, and you can find it at Support some or all HTML in Markdown in Bitbucket. Please vote for it, watch it to receive further notifications and add a comment if so you wish :)

Hope that helps!

Ana

Named anchors is a pretty basic requirement. Any plans to support this in the near future? We're trying to use them to improve navigation in our Bitbucket wiki.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket

Git push size limits are coming to Bitbucket Cloud starting April 4th, 2022

Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...

2,247 views 2 9
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you