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

XMLWordPrintable

    • Type: Suggestion
    • Resolution: Low Engagement
    • Component/s: None
    • 0
    • 2

      NOTE: This suggestion is for Confluence Cloud. Using Confluence Server? 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>
      
      

            Assignee:
            Unassigned
            Reporter:
            Tim Wong (Inactive)
            Votes:
            9 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: