((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") ".")))