diff --git a/src/index.ts b/src/index.ts index 1d9fdb8..244cef6 100644 --- a/src/index.ts +++ b/src/index.ts @@ -288,7 +288,7 @@ export default function ofm() { title, }, }, - children: firstChild.children, + children: [firstChild.children[0], ...node.children.slice(1)], } } })