Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-19361

Add ability to use HTML anchors

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • None
    • UI
    • None
    • 0
    • We collect Bitbucket feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      Add the ability to use HTML anchors in a readme.md page or pull requests comment.

      For example, you can see the page attached to this ticket.

      It should work like this: at the top of the page, you create a href with an id:

      <a href="#INSERT_YOUR_OBJECT_NAME_HERE">Click here to see the content below.</a>
      

      And then later on the same page, you can refer to the ID, so when someone clicks on the text above, it gets moved to the point referenced:

      <a id="INSERT_YOUR_OBJECT_NAME_HERE">The object you want to link to.</a>
      

      More detailed examples are in the attached page.

      This function does not work because the second part of the link is not rendered in the HTML page. The initial href does work:

      And even in the URL, it is reflected when you click on it. The problem is in the second part, where the page should move. That is not rerendered in the HTML; therefore, the link created initially has no way to find where to point the page:

      As you can see, the <a> is not present.

              Unassigned Unassigned
              6eec25a24f71 Diego Martins (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: