This version is out of date, covering development from v5.0.0 to v5.12.2. It is maintained here only for inbound reference links from elsewhere.

Jump to the current version of aTbRef.

Tinderbox Icon


Code Type: 

Code Scope of Action: 

Code First Added: 

Code Altered: 

 Export Mark-up   [other codes of this type]

 document   [codes with similar scope]

 Already in v5.0.0



Returns the relative path from the current file to the directory that contains the cover page. When concatenating ^root^ with a path, it is not necessary to add a trailing (folder) slash as this is created as part of the ^root^ output. Thus

- ^root^images/icon.gif


- ^root^/images/icon.gif

Note that this is not necessarily the same as ^root(this)^, used in the case where a note (this) is embedded inside another note that is included in a page.

The ^root^ of this note is: ../../../ (see the browser URL bar to see how this resolves)

Possible relevant notes (via "Similar Notes" feature):

A Tinderbox Reference File : Export Codes : Export Codes - Full Listing : ^root^