(zettel (meta (box-name "manual") (created "20210126175322") (modified "20260612162844") (role "manual") (syntax "zmk") (tags "#manual #zettelmarkup #zettelstore") (title "Zettelmarkup")) (rights read) (content "" "Zettelmarkup is a rich, plaintext-based markup language designed for writing zettel content.\n\nOne of the key benefits of Zettelmarkup is its focus on longevity.\nIt provides a syntax that is easy for both humans and computers to read, ensuring that your notes remain accessible and usable over time.\nCompared to other markup languages, Zettelmarkup is simpler to parse and work with.\nWriting a parser for [[Markdown|https://daringfireball.net/projects/markdown/syntax]], for example, can be quite complex.\n[[CommonMark|00001008010500]] tries to address this by providing a clear, comprehensive specification, but even with that, implementing a parser can still be a challenge.\n\nZettelmarkup, on the other hand, is built around a few straightforward principles that anyone familiar with software development can easily understand and implement.\nIts simplicity ensures that it remains a practical and long-lasting solution for note-taking and knowledge management.\n\nZettelmarkup is a markup language on its own.\nThis is in contrast to Markdown, which is basically a super-set of HTML: every HTML document is a valid Markdown document.[^To be precise: the content of the ```` of each HTML document is a valid Markdown document.]\nWhile HTML is a markup language that will probably last for a long time, it cannot be easily translated to other formats, such as PDF, JSON, or LaTeX.\nAdditionally, it is allowed to embed other languages into HTML, such as CSS or even JavaScript.\nThis could create problems with longevity as well as security problems.\n\nZettelmarkup is a rich markup language, but it focuses on relatively short zettel content.\nIt allows embedding other content, simple tables, quotations, description lists, and images.\nIt provides a broad range of inline formatting, including __emphasized__, **strong**, ~~deleted~~{-} and >>inserted>> text.\nFootnotes[^like this] are supported, links to other zettel and to external material, as well as citation keys.\nZettelmarkup allows you to include content from other zettel and to embed the results of a search query.\n\nZettelmarkup might be seen as a proprietary markup language.\nBut if you want to use [[Markdown/CommonMark|00001008010000]] and you need support for footnotes or tables, you'll end up with proprietary extensions.\nHowever, the Zettelstore supports CommonMark as a zettel syntax, so you can mix both Zettelmarkup zettel and CommonMark zettel in one store to get the best of both worlds.\n\n* [[General principles|00001007010000]]\n* [[Basic definitions|00001007020000]]\n* [[Block-structured elements|00001007030000]]\n* [[Inline-structured elements|00001007040000]]\n* [[Attributes|00001007050000]]\n* [[Query expressions|00001007700000]]\n* [[Summary of formatting characters|00001007800000]]\n* [[Tutorial|00001007900000]]\n* [[Cheat Sheet|00001007990000]]"))