This version is out of date, covering development as far as v4.2.5. It is maintained here only for inbound reference links from elsewhere. Jump to the current version of aTbRef. |
A Tinderbox Reference File : Objects & Concepts : Item Objects : source |
source |
Used (only) by export codes that create link lists. New to v4.0.0.
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: Item Objects | |
Previous: root | Next: this |
Licensed under Creative Commons Attribution-Noncommercial-Share Alike 3.0 License
[See aTbRef CC licence Attribution/Waiver info info]