Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-34966

Create a highlight macro that would allow you to highlight portions of text when you click on an anchor

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Won't Do
    • None
    • None
    • None
    • We collect Confluence 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.

    Description

      NOTE: This suggestion is for Confluence Server. Using Confluence Cloud? See the corresponding suggestion.

      Use case:
      You might want to link to specific areas of documentation. You would normally use an anchor, but anchors do not specifically call attention to the area you meant.

      Create a pair of macros that allow you to anchor specific areas (a macro that creates a span with an ID should be sufficient) and a css directive that does something like:

      
      <style>
      #:target {
          background-color: #ffa;
          -webkit-transition: all 1s linear;
      }</style>
      
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              twong Tim Wong (Inactive)
              Votes:
              3 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: