diff --git a/src/app/components/generator/McdocRenderer.tsx b/src/app/components/generator/McdocRenderer.tsx index a777c2e4..32543c98 100644 --- a/src/app/components/generator/McdocRenderer.tsx +++ b/src/app/components/generator/McdocRenderer.tsx @@ -680,6 +680,7 @@ function ListBody({ type: outerType, node, makeEdit, ctx }: Props (node?.children?.length ?? 0) @@ -743,6 +744,16 @@ function ListBody({ type: outerType, node, makeEdit, ctx }: Props {node.children.map((item, index) => { + if (index === maxShown) { + return
+ + + +
+ } + if (index > maxShown) { + return <> + } const child = item.value const itemType = getItemType(type) const childType = simplifyType(itemType, ctx)