跳到主要内容

article-linearize

article-linearize(body)(source)

Flatten the layout containers in body into the article's prose, whatever config-article(linearize: ..) would decide for them.

Label the element itself rather than the call, so the label survives the rebuild: #article-linearize[#table(..) <tab:x>].

Example: #article-linearize(components.side-by-side[a][b])

Parameters

body : content​

The content whose containers to flatten.

Returns: content