Tp-Note is a note-taking-tool and a template system, that consistently
synchronizes the note's meta-data with its filename.
various information about its environment and the clipboard and stores them
in variables. New notes are created by filling these variables in predefined
Tera-templates. In case
<path> points to an existing
tp-note-file, the note's meta-data is analysed and, if necessary, its
filename is modified. For all other file types,
tp-note creates a new note
that annotates the file
<path> points to. If
<path> is a directory (or,
when omitted the current working directory), a new note is created in that
directory. After creation,
tp-note launches an external editor of your
choice. Although the note's structure follows
pandoc-conventions, it is not
tied to any specific Markup language.
Deals with the note's content string.
Prints error messages and exceptional states.
Helper funtions that deal with filenames.
Extends the built-in Tera filters.
Creates a memory representations of the note by inserting
(c) Jens Getreu
Set the minimum required config file version that is compatible with this Tp-Note version.
Use the version-number defined in
Create a new note by inserting
Launch some external editor. The editor can be chosen through
Launches a file watcher and Markdown renderer and displays the result in the system's default browser.
Print some error message if
Run Tp-Note and return the (modified) path to the (new) note file.
Open the note file