((p "There" " " "are" " " "thee" " " "kinds" " " "of" " " "lists" " " "that" " " "can" " " "be" " " "nested:" " " "ordered" " " "lists," " " "unordered" " " "lists," " " "and" " " "quotation" " " "lists.") (p "Ordered" " " "lists" " " "are" " " "specified" " " "with" " " "the" " " "number" " " "sign" " " "(" (@L (@H "“") (kbd "#") (@H "”")) "," " " "U+0023)," " " "unordered" " " "lists" " " "use" " " "the" " " "asterisk" " " "(" (@L (@H "“") (kbd "*") (@H "”")) "," " " "U+002A)," " " "and" " " "quotation" " " "lists" " " "are" " " "specified" " " "with" " " "the" " " "greater-than" " " "sing" " " "(" (@L (@H "“") (kbd ">") (@H "”")) "," " " "U+003E)." " " "Let's" " " "call" " " "these" " " "three" " " "characters" " " (em "list" " " "characters") ".") (p "Any" " " "nested" " " "list" " " "item" " " "is" " " "specified" " " "by" " " "a" " " "non-empty" " " "sequence" " " "of" " " "list" " " "characters," " " "followed" " " "by" " " "a" " " "space" " " "character" " " "and" " " "a" " " "sequence" " " "of" " " (a (@ (href . "00001007040000")) "inline" " " "elements") "." " " "In" " " "case" " " "of" " " "a" " " "quotation" " " "list" " " "as" " " "the" " " "last" " " "list" " " "character," " " "the" " " "space" " " "character" " " "followed" " " "by" " " "a" " " "sequence" " " "of" " " "inline" " " "elements" " " "is" " " "optional." " " "The" " " "number" " " "/" " " "count" " " "of" " " "list" " " "characters" " " "gives" " " "the" " " "nesting" " " "of" " " "the" " " "lists." " " "If" " " "the" " " "following" " " "lines" " " "should" " " "also" " " "be" " " "part" " " "of" " " "the" " " "list" " " "item," " " "exactly" " " "the" " " "same" " " "number" " " "of" " " "spaces" " " "must" " " "be" " " "given" " " "at" " " "the" " " "beginning" " " "of" " " "each" " " "of" " " "the" " " "following" " " "lines" " " "as" " " "it" " " "is" " " "the" " " "lists" " " "are" " " "nested," " " "plus" " " "one" " " "additional" " " "space" " " "character." " " "In" " " "other" " " "words:" " " "the" " " "inline" " " "elements" " " "must" " " "begin" " " "at" " " "the" " " "same" " " "column" " " "as" " " "it" " " "was" " " "on" " " "the" " " "previous" " " "line.") (p "The" " " "resulting" " " "sequence" " " "on" " " "inline" " " "elements" " " "is" " " "merged" " " "into" " " "a" " " "paragraph." " " "Appropriately" " " "indented" " " "paragraphs" " " "can" " " "specified" " " "after" " " "the" " " "first" " " "one." " " "Since" " " "each" " " "blocks-structured" " " "element" " " "has" " " "to" " " "be" " " "specified" " " "at" " " "the" " " "first" " " "position" " " "of" " " "a" " " "line," " " "none" " " "of" " " "the" " " "nested" " " "list" " " "items" " " "may" " " "contain" " " "anything" " " "else" " " "than" " " "paragraphs.") (p "Some" " " "examples:") (pre (code (@ (class . "language-zmk")) "# One\n# Two\n# Three")) (p "is" " " "rendered" " " "in" " " "HTML" " " "as") (div (@ (class . "example")) (ol (li "One") (li "Two") (li "Three"))) (p "Similar" " " "an" " " "unordered" " " "list:") (pre (code (@ (class . "language-zmk")) "* A\n* B\n* C")) (p "is" " " "rendered" " " "in" " " "HTML" " " "as") (div (@ (class . "example")) (ul (li "A") (li "B") (li "C"))) (p "A" " " "quotation" " " "list" " " "is" " " "in" " " "most" " " "cases" " " "not" " " "a" " " "real" " " "list." " " "Mostly," " " "it" " " "results" " " "by" " " "copying" " " "replies" " " "from" " " "emails:") (pre (code (@ (class . "language-zmk")) "> Please add some\n> more parsers to\n> the Zettelstore software.")) (p "is" " " "rendered" " " "in" " " "HTML" " " "as") (div (@ (class . "example")) (blockquote (@L "Please" " " "add" " " "some" " " "more" " " "parsers" " " "to" " " "the" " " "Zettelstore" " " "software."))) (p "You" " " "can" " " "freely" " " "mix" " " "these" " " "three" " " "types" " " "of" " " "nested" " " "lists." " " "And" " " "you" " " "can" " " "nest" " " "them:") (pre (code (@ (class . "language-zmk")) "* A\n*# A.1\n*# A.2\n*#* A.2.a\n*#* A.2.b\n*#> Quote A.2.b.I\n*#># A.2.b.I.1\n*#># A.2.b.I.2\n*# A.3\n* B\n\n* C")) (p "is" " " "rendered" " " "in" " " "HTML" " " "as:") (div (@ (class . "example")) (ul (li (p "A") (ol (li (p "A.1")) (li (p "A.2") (ul (li "A.2.a") (li "A.2.b")) (blockquote (@L (p "Quote" " " "A.2.b.I") (ol (li "A.2.b.I.1") (li "A.2.b.I.2"))))) (li (p "A.3")))) (li (p "B")) (li (p "C")))) (p "Please" " " "note" " " "that" " " "two" " " "lists" " " "cannot" " " "be" " " "separated" " " "by" " " "an" " " "empty" " " "line." " " "Instead" " " "you" " " "should" " " "put" " " "a" " " "horizontal" " " "rule" " " "(" (@L (@H "“") "thematic" " " "break" (@H "”")) ")" " " "between" " " "them." " " "You" " " "could" " " "also" " " "use" " " "a" " " (a (@ (href . "00001007040350")) "mark" " " "element") " " "or" " " "a" " " "hard" " " "line" " " "break" " " "to" " " "separate" " " "the" " " "two" " " "lists:") (pre (code (@ (class . "language-zmk")) "# One\n# Two\n[!sep]\n# Uno\n# Due\n---\n# Eins\n# Zwei\n\\\n# Une\n# Deux")) (p "is" " " "rendered" " " "in" " " "HTML" " " "as") (div (@ (class . "example")) (ol (li "One") (li "Two")) (p (a (@ (id . "sep")))) (ol (li "Uno") (li "Due")) (hr) (ol (li "Eins") (li "Zwei")) (ol (li "Une") (li "Deux"))) (p "Here" " " "an" " " "example" " " "using" " " "multiple" " " "paragraphs:") (pre (code (@ (class . "language-zmk")) "* Para A-1\n\n Para A-2\n* Para B-1\n (continued)\n\n Para B-2\n** Para B.b-1\n\n Para B.b-2\n Para B-3")) (p "is" " " "rendered" " " "in" " " "HTML" " " "as") (div (@ (class . "example")) (ul (li (p "Para" " " "A-1") (p "Para" " " "A-2")) (li (p "Para" " " "B-1" " " "(continued)") (p "Para" " " "B-2") (ul (li (p "Para" " " "B.b-1") (p "Para" " " "B.b-2"))) (p "Para" " " "B-3")))))