Styled text $Text can be exported from the File ▸ Export sub-menu. Further options are set via the Export as Text panel. Styled text export supports inline use (i.e. in $Text) of a limited range of export codes. When exporting plain or styled text, 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 tht action code 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 query expression is
true, otherwise the text between the (optional) else and endIf codes is exported.