@@ -111,14 +111,13 @@ const tab = {
111111const tabs = {
112112 render: "Tabs",
113113 attributes: {},
114− children: [],
115114 transform(node, config) {
116115 const labels = node
117116 .transformChildren(config)
118117 .filter((child) => child && child.name === "Tab")
119118 .map((tab) => (typeof tab === "object" ? tab.attributes.label : null));
120119
121− return new Tag(this.render, { labels }, tabs);
120+ return new Tag(this.render, { labels }, node.transformChildren(config));
122121 },
123122};
124123
@@ -132,10 +131,10 @@ export default function Markdown({ post }) {
132131 footnoteItem,
133132 footnoteRef,
134133 },
135− // tags: {
136− // tabs,
137− // tab,
138− // },
134+ tags: {
135+ tabs,
136+ tab,
137+ },
139138 });
140139 return Markdoc.renderers.react(content, React, {
141140 components: {