(zettel (meta (back "00001007030000 00001007031400 00001007800000 00001012920513") (backward "00001007030000 00001007031400 00001007800000 00001012920513") (box-number "1") (created "20220310184916") (forward "00001007050000 00001008000000 00001008050000 00001012920516") (modified "20230109105402") (published "20230109105402") (role "manual") (syntax "zmk") (tags "#manual #zettelmarkup #zettelstore") (title "Zettelmarkup: Evaluation Blocks")) (rights 4) (encoding "") (content "Evaluation blocks are used to enter text that could be evaluated by either Zettelstore or external software.\nThey begin with at least three tilde characters (\"\"''~''\"\", U+007E) at the first position of a line.\n\nYou can add some [[attributes|00001007050000]] on the beginning line of a verbatim block, following the initiating characters.\nThe evaluation block supports the default attribute[^Depending on the syntax value.]: when given, all spaces in the text are rendered in HTML as open box characters (U+2423).\nIf you want to give only one attribute and this attribute is the generic attribute, you can omit the most of the attribute syntax and just specify the value.\nIt will be interpreted as a [[syntax|00001008000000]] value to evaluate its content.\nNot all syntax values are supported by Zettelstore.[^Currently just \"\"[[draw|00001008050000]]\"\".]\nThe main reason for an evaluation block is to be used with external software via the [[sz encoding|00001012920516]].\n\nAny other character in this line will be ignored\n\nText following the beginning line will not be interpreted, until a line begins with at least the same number of the same characters given at the beginning line.\nThis allows to enter some tilde characters in the text that should not be interpreted.\n\nFor example:\n`````zmk\n~~~~\n~~~\n~~~~\n`````\nwill be rendered in HTML as:\n:::example\n~~~~\n~~~\n~~~~\n:::\n\n`````zmk\n~~~{-}\nThis is some\ntext with no \n real sense.\n~~~~\n`````\nwill be rendered as:\n:::example\n~~~{-}\nThis is some\ntext with no \n real sense.\n~~~~\n:::\n\n`````zmk\n~~~draw\n+---+ +---+\n| A | --> | B |\n+---+ +---+\n~~~\n`````\nwill be rendered as:\n:::example\n~~~draw\n+---+ +---+\n| A | --> | B |\n+---+ +---+\n~~~\n:::"))