The Tree of Widsdom

智慧の樹

PostTitle

^do( PostTitle, [no args] )^

Type: Macro

Purpose: Inserts current title based on $DEExport setting

The PostTitle macro inserts the title of the note intelligently, depending on the value of $DEExport. If $DEExport is true, then you get the $DisplayName; else, you get the plain $Name.

Hover below to reveal BoxPress code

^if($DEExport)^^value($DisplayName(this))^^else^^value($Name(this))^^endIf^