Tags:
create new tag
view all tags

ANCHORLINK{} -- add anchor to create a deep #anchor link

  • Add an anchor link to topic text, such as %ANCHORLINK{"AnchorExample"}%. When hovering over text where an anchor link has been added, a anchor-bg.gif icon will appear on the left side. Clicking on it will show the #AnchorExample in the browser URL bar for easy copy & paste. The %ANCHORLINK{}% variable is handled by the AnchorLinkPlugin.
  • Anchor links can be added to bullets, tables, etc, as in this example. %ANCHORLINK{"AnchorExample"}% However, they currently cannot be added to top level paragraphs. Anchor link IDs must be unique per page.
  • Anchor links are added automatically to headers by the AnchorLinkPlugin.
  • Syntax: %ANCHORLINK{"id"}%
  • Parameters:
    Parameter Description Default Example
    "id" Identifier (name) of the anchor. Use only: a-z, A-Z, 0-9, _, - (required) "Progress"
  • Example: %ANCHORLINK{"AnchorExample"}%
  • Expands to embedded HTML: <a name="AnchorExample"></a>, along with logic to show/hide the anchor link icon anchor-bg.gif
  • Category: LinkingAndNavigationVariables, UIAndVisualizationVariables
  • Related: AnchorLinkPlugin, TWikiVariables
Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2021-03-25 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.