(zettel (meta (back "00001004020000 00001008010000 00001012920513") (backward "00001004020000 00001008010000 00001012920513") (box-number "1") (created "00010101000000") (forward "00001002000000 00001008010500 00001008010801 00001008010802 00001008010803") (modified "20260701135717") (predecessor "00001008010500") (published "20260701135717") (role "manual") (syntax "zmk") (tags "#manual #markdown #zettelstore") (title "Extended CommonMark")) (rights 4) (encoding "") (content "While [[CommonMark|00001008010500]] is a well-specified Markdown dialect, some useful elements are missing.\nTo be precise, these elements are also missing from the original Markdown proposal.\n\nTherefore, Zettelstore allows its users to make a trade-off and provides a choice: use CommonMark for a Markdown syntax that will be useful in other Markdown-processing software, or use Extended CommonMark to make use of elements found in proprietary Markdown-processing software.\nThe first choice focuses on the [[longevity|00001002000000]] of stored zettel, together with better compatibility with other tools.\nThe second choice trades longevity for additional features beyond CommonMark.\n\nExtended CommonMark is a strict superset of CommonMark.\nEvery element of CommonMark is also supported in Extended CommonMark.\nCurrently, Extended CommonMark extends CommonMark with strikethrough and tables.\n\n=== Strikethrough\n\nOne or two tilde characters (\"\"''~''\"\", U+007E) mark deleted text.\nFor example, ``abc ~~def~~ ghi ~jkl~`` is rendered in HTML as: ::{{00001008010801}}::{=example}.\n\nAs with regular CommonMark emphasis delimiters, a new paragraph causes strikethrough parsing to stop.\nThree or more tildes do not create a strikethrough.\n\n=== Tables\n\nA table consists of a single header row, a delimiter row separating the header from the data, and zero or more data rows.\n\nEach row consists of cells containing arbitrary text in which inline elements are parsed, separated by vertical bar characters (\"\"''|''\"\", U+007C).\nA leading and trailing vertical bar character is also recommended for clarity.\nSpaces between vertical bar characters and cell content are trimmed.\n\nThe delimiter row consists of cells whose only content is hyphen-minus characters (\"\"''-''\"\", U+002D), optionally preceded or followed by a colon character (\"\"'':''\"\", U+003A), or both, to indicate left, right, or center column alignment.\n\nFor example:\n\n```emark\n| foo | bar |\n| --- | --- |\n| baz | bim |\n```\n\nwill be rendered in HTML as:\n\n:::example\n{{{00001008010802}}}\n:::\n\nTo show the effect of an alignment specification:\n\n```emark\n| foo | bar | baz | bim |\n| ------- | :--- | :-: | --: |\n| default | left | center | rightright |\n| one | twotwo | three |\n| alpha | beta | gamma | delta | epsilon |\n```\n\nwill be rendered in HTML as:\n\n:::example\n{{{00001008010803}}}\n:::"))