a few minimal plaintext formats for creating and managing notes or documents without friction.
the simplest format. each entry is added at the top, separated by an empty line. editing is fast and requires no syntax. if entries contain unescaped empty lines, entry boundaries become ambiguous.
example:
entry-1 entry-1 entry-2 entry-2
an indent-based, machine- and human-readable format for titled note blocks. top-level words act as tags or headings. indentation defines structure. no extra syntax needed. a management tool for itpn is included in sph-script.
heading content line nested or continued line nested or continued line content line heading content line content line
benefits
a lightweight markup format standardized as commonmark. suitable for structured documents with headings, lists, and emphasis.
example:
# heading level 1 ## heading level 2 - bullet point one - bullet point two
benefits
drawbacks
neutral
here is an example of an indentation-based syntax for structured documents. it includes forms that can be evaluated by custom procedures to create output like lists, tables and more.
#(identifier scheme-expression ...)
#identifier scheme-expression ... scheme-expression ... ...
##(identifier plaintext/itml-expression ...)
##identifier plaintext/itml-expression ... plaintext/itml-expression ... ...
#identifier: scheme-expressions ... ##identifier: plaintext/itml-expressions ...
###identifier plaintext ... plaintext ...
the text is passed as a parsed tree without any nested expressions evaluated. this can be used for example to create block escaping
a line before increased indent becomes a heading
this is a heading this is content and more example text a sub-heading more content
each empty line, two newlines, creates one line break in the output
example text more text after empty line
inline expression prefixes, colons and backslashes can be escaped with a backslash
\: \# \## \### \\
block escapes
###escape content content content