== Creating texts and publishing === New To create new text files, use {{{ txt new }}}.\\ For example:\\ {{{ #!sh $ txt new "お会いできてうれしいです" }}} It's important to enclose the title with quotation marks if it contains spaces (or just for clarity).\\ The command will return the filename of the new text, which contains its ID.\\ Use your favorite text editor to open it. Text files will be stored in either:\\ 1. The directory pointed at by {{{ $TXTDIR }}} if defined 2. {{{ $HOME/.local/share/texts }}}, if directory exists 3. The current working directory, if all else fails The simplest approach is to put all texts in the {{{ $HOME/.local/share/texts }}} directory and override that on occasion with {{{ $TXTDIR }}}.\\ For example:\\ {{{ #!sh $ env TXTDIR=${PWD} txt new "お会いできてうれしいです" }}}