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

Refer to markdown anchor from code comments

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Duplicate
    • None
    • None
    • None
    • 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.

      I am trying to have a markdown as some kind of specification document. As part of this I would like to be able to refer (through my code) to some kind of anchor in a markdown file.

      Anchors would be to something like:

      [1.0] Spec item 1
      [1.1] ...
      [2.0] ...
      

      In my code (C / python / perl / etc.), python example:

      for this in that:
           print(this)   # (linkToMarkdown:[1.0])
      

            Unassigned Unassigned
            335c010c0645 David Boulanger Latour
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: