(((meta ((content . "Plain Encoding") (name . "title"))) (meta ((content . "manual") (name . "role"))) (meta ((content . "#api #manual #reference #zettelstore") (name . "tags"))) (meta ((content . "zmk") (name . "syntax"))) (meta ((content . "00001012920500") (name . "back"))) (meta ((content . "00001012920500") (name . "backward"))) (meta ((content . "1") (name . "box-number"))) (meta ((content . "(c) 2020-present by Detlef Stern ") (name . "copyright"))) (meta ((content . "20260303142555") (name . "created"))) (meta ((content . "00001005000000 00001012920800") (name . "forward"))) (meta ((content . "en") (name . "lang"))) (meta ((content . "EUPL-1.2-or-later") (name . "license"))) (meta ((content . "20260303145928") (name . "modified"))) (meta ((content . "20260303145928") (name . "published"))) (meta ((content . "public") (name . "visibility")))) (p "The " (@L (@H "“") "plain" (@H "”")) " encoding represents a zettel the same way it is stored in a file with an extension " (a ((href . "00001005000000")) (kbd ".zettel")) ".") (p "Zettel with a " (a ((href . "00001006020000#syntax")) "syntax") " value " (a ((href . "00001008000000#zmk")) (@L (@H "“") "zmk" (@H "”"))) " are typically stored in a file with the extension " (kbd ".zettel") "." " " "Storing zettel with other syntax values in a " (kbd ".zettel") " file is also possible, but not recommended." " " "In those cases, the zettel is stored in two files: one file (without a filename extension) contains the metadata, and the other stores the zettel content.") (p "These two cases are mirrored by specifying the required " (a ((href . "00001012920800")) "part") " of a zettel:") (ul (li "If part has the value " (@L (@H "“") "zettel" (@H "”")) ", the full zettel, both metadata and content, is encoded." " " "This corresponds to storing a zettel in a single file with the extension " (kbd ".zettel") ".") (li "A part value of " (@L (@H "“") "meta" (@H "”")) " encodes only the metadata of a zettel.") (li "A part value of " (@L (@H "“") "content" (@H "”")) " (the default) encodes the raw content of a zettel.")) (p "If transferred via HTTP, the content type depends on the selected part:") (ul (li "If part has the value " (@L (@H "“") "zettel" (@H "”")) ", the content type is either " (kbd "application/octet-stream") " (for binary content) or a value derived from the " (kbd "syntax") " metadata.") (li "A part value of " (@L (@H "“") "content" (@H "”")) " results in a content type is derived from the " (kbd "syntax") " metadata.") (li "A part value of " (@L (@H "“") "meta" (@H "”")) " results in a content type " (kbd "text/plain; charset=utf-8") ".")))