The DocumentTree macro generates a hierarhical, alphabetically ordered list of the
documents in the document tree, using a given document as the root document. This
ordered list is enclosed in a <div>
block, so that the list elements can be styled
using CSS.
Enabled.
Ignored.
<div>
tag. The html-class
allows to style the generated list using CSS.
Default DocumentTree
.DocumentTree_Macro.txt
(expanded).file_name *
(matches everything).When specifying patterns, multiple rows are interpreted as alternatives. Possible surrounding whitespace is stripped off for each line. If both a regex pattern and a glob pattern is given, they are combined as alternatives.
A document is said to match when
In the non-compact representation, a document is listed if and only if
min_depth
and at most max_depth
, andThis preserves the parent-child relation between documents.
In the compact representation, a document is listed if and only if
min_depth
and at most max_depth
, andThis preserves the ancestor-descendant relation between documents, but not necessarily the parent-child relation.
[[set_many DocumentTree]]:
root_document remark.txt
compact 0
min_depth 0
include file_name *Tree*
[[DocumentTree]]
[[set_many DocumentTree]]:
root_document remark.txt
compact 1
min_depth 0
include file_name *Tree*
[[DocumentTree]]
Generates a hierarchical link-tree of the document-tree.