Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-23869

Relative Paths Not Working in Markdown on Bitbucket Cloud

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • Product - Markdown
    • None

      Issue Summary

      Relative paths in Markdown are no longer functioning as expected in Bitbucket Cloud. When attempting to reference images or files using relative paths, the links do not resolve, and the content fails to display. 

      Steps to Reproduce

      1. Navigate to a repository on Bitbucket Cloud.
      2. Open or create a Markdown file (e.g., README.md).
      3. Add the following Markdown syntax to include an image using a relative path. Example:

      ![relative-path](testfolder/test-image-1.png)
      

      4. Commit the changes.
      5. View the rendered Markdown file in the repository.

      Expected Results

      The image should display correctly using the relative path provided.

      Actual Results

      The image does not display when using the relative path. Instead, it breaks or shows as a missing resource.

      Workaround

      Currently, the issue can be bypassed by using an absolute path to the image:
      Example:

      ![abs-path](https://bitbucket.org/someworkspace/somerepo/raw/bd8a5edf1088d6723d5b78398612d76/testfolder/test-image-1.png)
      

              Unassigned Unassigned
              40b9b0a8faa9 Karthick S
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: