The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

maxkovalenkov
May 10, 2018

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Malcolm Cook
October 2, 2019

@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!

Tim Black
Contributor
February 27, 2020

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

0 votes
Ana Retamal
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
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

Mark
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 2, 2021

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.

TAGS
AUG Leaders

Atlassian Community Events