I‘m using nested block to wrap my context, but it cannot handle empty content.
#let wrapp-section(
body, // The body content / 主体内容
depth: 1, // The heading depth to wrap / 要包装的标题深度
wrapper: none, // The wrapper function / 包装函数
) = {
...
for it in body.children { // 无法处理标题下没有子元素的情况 Cannot handle cases where there are no child elements under the heading.
let x = it.func(); // Get the function name of the element / 获取元素的函数名称
...