in beta/src/components/Layout/MarkdownPage.tsx [107:121]
function handleChild(child: any, key: string | number) {
if (child == null) {
return;
}
if (typeof child !== 'object') {
wrapQueue.push(child);
return;
}
if (fullWidthTypes.includes(child.props.mdxType)) {
flushWrapper(key);
finalChildren.push(child);
} else {
wrapQueue.push(child);
}
}