The ''file'' sub-command

Reads zettel data from a file (or from standard input / stdin) and renders it to standard output / stdout. This allows Zettelstore to render files manually.

zettelstore file [-t FORMAT] [file-1 [file-2]]

Specifies the output format. Supported values are: html (default), md, shtml, sz, text, and zmk.


Specifies the file name, where at least metadata is read. If file-2 is not given, the zettel content is also read from here.


File name where the zettel content is stored.

If neither file-1 nor file-2 are given, metadata and zettel content are read from standard input / stdin.