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

Automatically create anchor link for parsed Markdown headlines (Wiki) (BB-13092)

    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      Hey there,
      Github automatically creates local (anchor) links for Markdown Headlines which makes it easy to link to specific parts of a wiki page. It seems that BB does not have this feature.

            [BCLOUD-11353] Automatically create anchor link for parsed Markdown headlines (Wiki) (BB-13092)

            After reviewing this issue, we determined that it was low priority and unlikely to be worked on in the near future. We appreciate your input, but want to be transparent about our decision to not fix this right now. 

            Katarína Lukácsy added a comment - After reviewing this issue, we determined that it was low priority and unlikely to be worked on in the near future. We appreciate your input, but want to be transparent about our decision to not fix this right now. 

            As described by Russel Peake above

            This works:

            #!markdown
            [link to heading 1](#markdown-header-heading-1)
            
            # Heading 1
            
            

            ruiffcardoso added a comment - As described by Russel Peake above This works: #!markdown [link to heading 1](#markdown-header-heading-1) # Heading 1

            Issue BCLOUD-13207 was marked as a duplicate of this issue.

            Alastair Wilkes added a comment - Issue BCLOUD-13207 was marked as a duplicate of this issue.

            I would also really like this functionality on the README.md of a project.

            Logan Tegman added a comment - I would also really like this functionality on the README.md of a project.

            still a valid request

            Mathis König added a comment - still a valid request

            [TOC] is nice, but does not solve the problem, since the this can only be done by somebody with write access.
            Mostly it is for linking to documentation and other texts that the person (I) did not write him/herself.

            Mathis König added a comment - [TOC] is nice, but does not solve the problem, since the this can only be done by somebody with write access. Mostly it is for linking to documentation and other texts that the person (I) did not write him/herself.

            This may do instead.

            According to this: https://confluence.atlassian.com/bitbucket/mark-up-comments-305037452.html, bitbucket supports the Table of Contents extension which can auto-generate links and anchors based on the document headers.

            The TOC extension is documented here: https://pythonhosted.org/Markdown/extensions/toc.html

            Add the text "[TOC]" to the beginning of the document for it to be generated.

            binaryphile added a comment - This may do instead. According to this: https://confluence.atlassian.com/bitbucket/mark-up-comments-305037452.html , bitbucket supports the Table of Contents extension which can auto-generate links and anchors based on the document headers. The TOC extension is documented here: https://pythonhosted.org/Markdown/extensions/toc.html Add the text " [TOC] " to the beginning of the document for it to be generated.

            This issue has been closed due to inactivity. If you continue to see problems, please reopen or create a new issue.

            Legacy Bitbucket Cloud User (Inactive) added a comment - This issue has been closed due to inactivity. If you continue to see problems, please reopen or create a new issue.

            I saw via the html inspector that it creates these anchor, but it does not provide a GUI for that. GitHub shows a link on mouse hover like this:

            Sorry, I should have been more clear

            Mathis König added a comment - I saw via the html inspector that it creates these anchor, but it does not provide a GUI for that. GitHub shows a link on mouse hover like this: Sorry, I should have been more clear

            Bitbucket does create anchors for headings in markdown (not sure if this is what you meant or auto linking to headings. If you are meaning anchors and how to add them, see below.

            #!markdown
            
            [link to heading 1](#markdown-header-heading-1)
            
            # Heading 1
            

            Russell Peake added a comment - Bitbucket does create anchors for headings in markdown (not sure if this is what you meant or auto linking to headings. If you are meaning anchors and how to add them, see below. #!markdown [link to heading 1](#markdown-header-heading-1) # Heading 1

              Unassigned Unassigned
              45fc9da6d3aa Mathis König
              Votes:
              3 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: