This version is out of date, covering development from v4.6.0 to v4.7.1. It is maintained here only for inbound reference links from elsewhere. Jump to the current version of aTbRef. |
|
A Tinderbox Reference File : Objects & Concepts : Designators : Link Designators : source | aTbRef Site Map |
source |
Used (only) by export codes that create link lists.
The object refers to the note from which the exported links will arise. In most (all?) cases this equates to both this and current, so the object 'source' makes it easier for the user to specify generically from where data is drawn.
See also - destination.
For example,
^basicLinks(<ul>,"<li>^getFor(source,Name)^ - > ",</li>,</ul>)^
will export a list of links, each target note's Name preceded by the source note's name and a -> pointing to the target note's name.
Note that the placeholder can be used in the link export code's item prefix and/or suffix arguments. Meanwhile, the link's anchor text always remains the Name (i.e. title) of the link's target note, linked to that note's page's url.
Up: Link Designators | |
Previous: destination |
Licensed under Creative Commons Attribution-Noncommercial-Share Alike 3.0 License
[See aTbRef CC licence Attribution/Waiver info info]