Tp-Note is a note taking tool and a template system, that consistently
synchronizes the note’s metadata with its filename. Tp-Note collects
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 metadata 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’s conventions, it is not
tied to any specific Markup language.
Receives strings by a message channel, queues them and displays them one by one in popup alert windows.
Collects Tp-Note’s configuration from a configuration file, the command line parameters. It also reads the clipboard.
Deals with the note’s content string.
Custom error types.
Launch the user’s favourite file editor.
Helper functions that deal with filenames.
Extends the built-in Tera filters.
Prints error messages and exceptional states.
Creates a memory representations of the note by inserting Tp-Note’s environment data in some templates. If the note exists on disk already, the memory representation is established be reading the note file with its front matter.
Module extending the process handling.
Modules implementing the note content renderer and viewer feature.
High level program logic implementing the whole workflow.
Macro to construct a
(c) Jens Getreu
Set the minimum required config file version that is compatible with this Tp-Note version.
Use the version number defined in
Print some error message if