Forums

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

How can I add links to BitBucket markdown, that work in browser?

Julian König
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!
June 14, 2019

I am familiar with the markdown syntax and how to create links there.

However, when I click on a link like "https://<mydomain>/bitbucket/projects/<...>/browse/README.md#link_to_section" it doesn't jump to the appropriate section. When the page is fully loaded and I press enter again in the browser's navigation bar, it works.

I assume that this is a problem with interaction of JavaScript and php (client sided vs. server sided) and so my problem can not be solved. Anyways, hopefully someone has a solution for this.

Thanks in advance!

 

With kind regards,

Jo

1 answer

0 votes
Stephen Sifers
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 17, 2019

Hello Julian,

Your issue may possibly be a defect in the product which has already been reported. There is a workaround which allows you to link internally to the anchor within your wiki page. The example looks as follows:

Example: [Section Title](#section-title) links to <a name="section-title"></a>.

You may find the bug request at Support internal/anchor links in rendered Markdown. Additionally, there is a community post which also discusses how to use the anchors at Markdown internal links support in Bitbucket Server.

I hope this information proves helpful and assist with a workaround and additional information around the issue.

Regards,
Stephen Sifers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events