(zettel (meta (back "00001007030000 00001007040100 00001007800000 00001012920513") (backward "00001007030000 00001007040100 00001007800000 00001012920513") (box-number "1") (created "00010101000000") (forward "00001007030100 00001007040000 00001007050000") (modified "20220323190829") (published "20220323190829") (role "manual") (syntax "zmk") (tags "#manual #zettelmarkup #zettelstore") (title "Zettelmarkup: Region Blocks")) (rights 4) (encoding "") (content "Region blocks does not directly have a visual representation.\nThey just group a range of lines.\nYou can use region blocks to enter [[attributes|00001007050000]] that apply only to this range of lines.\nOne example is to enter a multi-line warning that should be visible.\n\nThis kind of line-range block begins with at least three colon characters (\"\"'':''\"\", U+003A) at the first position of a line[^Since a [[description text|00001007030100]] only use exactly one colon character at the first position of a line, there is no possible ambiguity between these elements.].\nYou can add some [[attributes|00001007050000]] on the beginning line of a region block, following the initiating characters.\nThe region block does not support the default attribute, but it supports the generic attribute.\nSome generic attributes, like ``=note``, ``=warning`` will be rendered special.\nAll other generic attributes are used as a CSS class definition.\nAttributes are interpreted on HTML rendering.\nAny other character in this line will be ignored.\n\nText following the beginning line will 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 a region block within a region block.\nAt the ending line, you can enter some [[inline elements|00001007040000]] after the colon characters.\nThese will interpreted as some attribution text.\n\nFor example:\n\n```zmk\n::::{style=color:green}\nA region block with\n an embedded region block\n:::{style=color:black}\nEmbedded\n region\nblock\n::: Embedded Author\n:::: Region Author\n```\nwill be rendered in HTML as:\n:::::example\n::::{style=color:green}\nA region block with\n an embedded region block\n:::{style=color:black}\nEmbedded\n region\nblock\n::: Embedded Author\n:::: Region Author\n:::::\n\nAn example for a warning region block:\n```zmk\n:::warning\nDo not copy from the Internet, know your sponsors.\n:::\n```\nwill be rendered as:\n::::example\n:::warning\nDo not copy from the Internet, know your sponsors.\n:::\n::::\n\nGeneric attributes that are result in a special HTML rendering are:\n* example\n* note\n* tip\n* important\n* caution\n* warning\n\nAll other generic attribute values are rendered as a CSS class:\n```zmk\n:::abc\ndef\n:::\n```\nis rendered as\n::::example\n:::abc\ndef\n:::\n::::"))