Reference · SemText · Data & tables
<sem-site-tree>
SemText element
You nest bare node children with a path and optional label and kind. The same engine that reads sem-file-tree renders it, so both notations share one model.
Children
-
<mode>`structured` (default) | `text`; text selects the pre-form parse (see sem-file-tree.md — the same dispatch serves both tags). -
<node>
Example
sem-site-tree.html
source
1
<sem-site-tree label="Monorepo layout">
2
<node path="src" label="Source" kind="dir">
3
<node path="src/lit" kind="dir" collapsed>
4
<node path="src/lit/sem-workflow.ts" kind="file"></node>
5
<node path="src/lit/sem-tree.ts" kind="file"></node>
6
</node>
7
</node>
8
<node path="themes" kind="dir"></node>
9
</sem-site-tree>
render
No shipped runtime for this element — the authored example renders as plain HTML.
Source: spec/schema/sem-site-tree.md