((p "Tables" " " "are" " " "used" " " "to" " " "show" " " "some" " " "data" " " "in" " " "a" " " "two-dimensional" " " "fashion." " " "In" " " "zettelmarkup," " " "table" " " "are" " " "not" " " "specified" " " "explicitly," " " "but" " " "by" " " "entering" " " (em "table" " " "rows") "." " " "Therefore," " " "a" " " "table" " " "can" " " "be" " " "seen" " " "as" " " "a" " " "sequence" " " "of" " " "table" " " "rows." " " "A" " " "table" " " "row" " " "is" " " "nothing" " " "as" " " "a" " " "sequence" " " "of" " " (em "table" " " "cells") "." " " "The" " " "length" " " "of" " " "a" " " "table" " " "is" " " "the" " " "number" " " "of" " " "table" " " "rows," " " "the" " " "width" " " "of" " " "a" " " "table" " " "is" " " "the" " " "maximum" " " "length" " " "of" " " "its" " " "rows.") (p "The" " " "first" " " "cell" " " "of" " " "a" " " "row" " " "must" " " "begin" " " "with" " " "the" " " "vertical" " " "bar" " " "character" " " "(" (@L (@H "“") (kbd "|") (@H "”")) "," " " "U+007C)" " " "at" " " "the" " " "first" " " "position" " " "of" " " "a" " " "line." " " "The" " " "other" " " "cells" " " "of" " " "a" " " "row" " " "begin" " " "with" " " "the" " " "same" " " "vertical" " " "bar" " " "character" " " "at" " " "later" " " "positions" " " "in" " " "that" " " "line." " " "A" " " "cell" " " "is" " " "delimited" " " "by" " " "the" " " "vertical" " " "bar" " " "character" " " "of" " " "the" " " "next" " " "cell" " " "or" " " "by" " " "the" " " "end" " " "of" " " "the" " " "current" " " "line." " " "A" " " "vertical" " " "bar" " " "character" " " "as" " " "the" " " "last" " " "character" " " "of" " " "a" " " "line" " " "will" " " "not" " " "result" " " "in" " " "a" " " "table" " " "cell." " " "It" " " "will" " " "be" " " "ignored." " " "Inside" " " "a" " " "cell," " " "you" " " "can" " " "specify" " " "any" " " (a (@ (href . "00001007040000")) "inline" " " "elements") ".") (p "For" " " "example:") (pre (code (@ (class . "language-zmk")) "| a1 | a2 | a3|\n| b1 | b2 | b3\n| c1 | c2")) (p "will" " " "be" " " "rendered" " " "in" " " "HTML" " " "as:") (div (@ (class . "example")) (table (tbody (tr (td "a1") (td "a2") (td "a3")) (tr (td "b1") (td "b2") (td "b3")) (tr (td "c1") (td "c2") (td))))) (h2 (@ (id . "header-row")) "Header" " " "row") (p "If" " " "any" " " "cell" " " "in" " " "the" " " "first" " " "row" " " "of" " " "a" " " "table" " " "contains" " " "an" " " "equal" " " "sing" " " "character" " " "(" (@L (@H "“") (kbd "=") (@H "”")) "," " " "U+003D)" " " "as" " " "the" " " "very" " " "first" " " "character," " " "then" " " "this" " " "first" " " "row" " " "will" " " "be" " " "interpreted" " " "as" " " "a" " " (em "table" " " "header") " " "row.") (p "For" " " "example:") (pre (code (@ (class . "language-zmk")) "| a1 | a2 |= a3|\n| b1 | b2 | b3\n| c1 | c2")) (p "will" " " "be" " " "rendered" " " "in" " " "HTML" " " "as:") (div (@ (class . "example")) (table (thead (tr (td "a1") (td "a2") (td "a3"))) (tbody (tr (td "b1") (td "b2") (td "b3")) (tr (td "c1") (td "c2") (td))))) (h2 (@ (id . "column-alignment")) "Column" " " "alignment") (p "Inside" " " "a" " " "header" " " "row," " " "you" " " "can" " " "specify" " " "the" " " "alignment" " " "of" " " "each" " " "header" " " "cell" " " "by" " " "a" " " "given" " " "character" " " "as" " " "the" " " "last" " " "character" " " "of" " " "a" " " "cell." " " "The" " " "alignment" " " "of" " " "a" " " "header" " " "cell" " " "determines" " " "the" " " "alignment" " " "of" " " "every" " " "cell" " " "in" " " "the" " " "same" " " "column." " " "The" " " "following" " " "characters" " " "specify" " " "the" " " "alignment:") (ul (li "the" " " "colon" " " "character" " " "(" (@L (@H "“") (kbd ":") (@H "”")) "," " " "U+003A)" " " "forces" " " "a" " " "centered" " " "alignment,") (li "the" " " "less-than" " " "sign" " " "character" " " "(" (@L (@H "“") (kbd "<") (@H "”")) "," " " "U+0060)" " " "specifies" " " "an" " " "alignment" " " "to" " " "the" " " "left,") (li "the" " " "greater-than" " " "sign" " " "character" " " "(" (@L (@H "“") (kbd ">") (@H "”")) "," " " "U+0062)" " " "will" " " "produce" " " "right" " " "aligned" " " "cells.")) (p "If" " " "no" " " "alignment" " " "character" " " "is" " " "given," " " "a" " " "default" " " "alignment" " " "is" " " "used.") (p "For" " " "example:") (pre (code (@ (class . "language-zmk")) "|=Left<|Right>|Center:|Default\n|123456|123456|123456|123456|\n|123|123|123|123")) (p "will" " " "be" " " "rendered" " " "in" " " "HTML" " " "as:") (div (@ (class . "example")) (table (thead (tr (td (@ (class . "left")) "Left") (td (@ (class . "right")) "Right") (td (@ (class . "center")) "Center") (td "Default"))) (tbody (tr (td (@ (class . "left")) "123456") (td (@ (class . "right")) "123456") (td (@ (class . "center")) "123456") (td "123456")) (tr (td (@ (class . "left")) "123") (td (@ (class . "right")) "123") (td (@ (class . "center")) "123") (td "123"))))) (h2 (@ (id . "cell-alignment")) "Cell" " " "alignment") (p "To" " " "specify" " " "the" " " "alignment" " " "of" " " "an" " " "individual" " " "cell," " " "you" " " "can" " " "enter" " " "these" " " "characters" " " "for" " " "alignment" " " "as" " " "the" " " "first" " " "character" " " "of" " " "that" " " "cell.") (p "For" " " "example:") (pre (code (@ (class . "language-zmk")) "|=Left<|Right>|Center:|Default\n|>R|:C|