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]]
-t FORMAT

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

file-1

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-2

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.