Controlling window depth[idea:window-depth]

Windows on ideas that are parents in the idea hierarchy can infinitely recurse. By default they do not: a window written inside an idea you are windowing on collapses to its ID, so you always see one idea rather than a tree of them.

Raise depth to unfurl those inner windows, one level per count:

#window(<first-idea>, depth: 1)

You can configure window depth rookery-wide like so:

#show: rookery.with(window-depth: 1)
#window(<first-idea>)
#window(<second-idea>, depth: 0)

The count is a budget, and it is what makes this safe to ask for. An idea that windows on itself, or two that window on each other, would otherwise unfurl forever; with a budget they bottom out at the ID and stop. Each level also re-renders the idea’s body, so the work multiplies rather than adds — keep the numbers small.

Here is a window on this idea’s own parent, at the default depth. Its own windows show only as ID links:

[idea:windows]