(((meta (@ (content . "Query: Items Directive") (name . "title"))) (meta (@ (content . "manual") (name . "role"))) (meta (@ (content . "#manual #search #zettelstore") (name . "tags"))) (meta (@ (content . "zmk") (name . "syntax"))) (meta (@ (content . "00001007700000 00001007720000") (name . "back"))) (meta (@ (content . "00001007700000 00001007720000") (name . "backward"))) (meta (@ (content . "1") (name . "box-number"))) (meta (@ (content . "(c) 2020-present by Detlef Stern ") (name . "copyright"))) (meta (@ (content . "20230729102142") (name . "created"))) (meta (@ (content . "00001000000000 00001007030200 00001012000000") (name . "forward"))) (meta (@ (content . "en") (name . "lang"))) (meta (@ (content . "EUPL-1.2-or-later") (name . "license"))) (meta (@ (content . "20230729120755") (name . "modified"))) (meta (@ (content . "20230729120755") (name . "published"))) (meta (@ (content . "public") (name . "visibility")))) (p "The items directive works on zettel that act as a " (@L (@H "“") "table of contents" (@H "”")) " for other zettel." " " "The " (a (@ (href . "00001000000000")) "initial zettel") " of this manual is one example, the " (a (@ (href . "00001012000000")) "general API description") " is another." " " "Every zettel with a certain internal structure can act as the " (@L (@H "“") "table of contents" (@H "”")) " for others.") (p "What is a " (@L (@H "“") "table of contents" (@H "”")) "?" " " "Basically, it is just a list of references to other zettel.") (p "To retrieve the items of a zettel, the software looks at first level " (a (@ (href . "00001007030200")) "list items") "." " " "If an item contains a valid reference to a zettel, this reference will be interpreted as an item in the items list, in the " (@L (@H "“") "table of contents" (@H "”")) ".") (p "This applies only to first level list items (ordered or unordered list), but not to deeper levels." " " "Only the first reference to a valid zettel is collected for the table of contents." " " "Following references to zettel within such an list item are ignored.") (pre (code "# curl 'http://127.0.0.1:23123/z?q=00001000000000+ITEMS'\n00001001000000 Introduction to the Zettelstore\n00001002000000 Design goals for the Zettelstore\n00001003000000 Installation of the Zettelstore software\n00001004000000 Configuration of Zettelstore\n00001005000000 Structure of Zettelstore\n00001006000000 Layout of a Zettel\n00001007000000 Zettelmarkup\n00001008000000 Other Markup Languages\n00001010000000 Security\n00001012000000 API\n00001014000000 Web user interface\n00001017000000 Tips and Tricks\n00001018000000 Troubleshooting")))