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: 

Escaping git commit reference in markdown

Gary Giesen
April 30, 2024

Is there a way to escape git commit references in Markdown? I have a list of UUIDs that Bitbucket thinks the first part of is a git commit reference, and is generating links to (non-existent) commits.

The list looks like this:

- 95ffdfaf-f5bd-419a-bb79-1a4a36848df3
- 330b20cc-5c7f-4e6f-bfa5-c3606f2b4558
- 3b287b0c-044e-4d81-9432-96ade4efdb61

and the part from the beginning to the first hyphen is being treated as a reference to a commit hash. I tried escaping with `\` but that does not work.

 

https://support.atlassian.com/bitbucket-cloud/docs/highlight-syntax-and-mark-up-issues/ makes no reference to how to escape the automatic reference generation.

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Syahrul
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 1, 2024

G'day, Gary

Thanks for raising this with us. I am checking this and will get back to you with an update once I have any.

However, I believe it's possible to escape the reference if you use code block for example:

```
- 95ffdfaf-f5bd-419a-bb79-1a4a36848df3
- 330b20cc-5c7f-4e6f-bfa5-c3606f2b4558
- 3b287b0c-044e-4d81-9432-96ade4efdb61

```

Let me know if that works for you.

Regards,
Syahrul

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events