title: The ''file'' sub-command
role: manual
tags: #command #configuration #manual #zettelstore
syntax: zmk
back: 00001004050000
backward: 00001004050000
box-number: 1
copyright: (c) 2020-present by Detlef Stern <ds@zettelstore.de>
created: 20210126175322
forward: 00001012920510 00001012920513 00001012920516 00001012920519 00001012920522 00001012920525
lang: en
license: EUPL-1.2-or-later
modified: 20230316182711
published: 20230316182711
visibility: public

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



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