Fully styled RTF $Text can be exported from the File ▸ Export sub-menu. Further options are set via the Export as Text panel. RTF export supports inline use (i.e. in $Text) of a limited range of export codes. When exporting text or RTF, Tinderbox interprets several export markup elements.
- ^include(item)^ is replaced by the styled text of the designated note.
- ^value(expression)^ is replaced by the value of the expression, though most often that is simply citing an attribute reference. For example, ^value($WordCount)^ will be replaced with the value of the word count of the exported note.
- ^if(expression)^text^endIf^ and ^if(expression)^text^else^text^endIf^ permit conditional export. The text between the if and endIf or the if and else codes will be exported only if the expression is
true
, otherwise the text between the (optional) else and endIf codes is exported.