^directory( item )^

Tinderbox Icon


Code Type:   Data Include
Code Scope of Action:   item

^directory^

Exports a relative path from the site root to the directory containing the designated item (note).

Example:

For the note /archives/May.html, ^directory(this)^ generates "archives/".

The directory for this note is: index/ExportCodes/ExportCodeTypes/DataInclude/


Up: Data Include
Previous: ^descendants( [template] )^  Next: ^do( theMacro [,argument, anotherArgument, etc.] )^ 

[Last updated: 14 Dec 2009, using v5.0]

Google search aTbRef for:  

Licensed under Creative Commons Attribution-Noncommercial-Share Alike 3.0 License
[See aTbRef CC licence Attribution/Waiver info info]

Creative Commons License

Made with Tinderbox