diff --git a/website/plugins/remarkWrapSections.mjs b/website/plugins/remarkWrapSections.mjs index 545eb2ed2..96bf67f84 100644 --- a/website/plugins/remarkWrapSections.mjs +++ b/website/plugins/remarkWrapSections.mjs @@ -58,7 +58,7 @@ function remarkWrapSection(userOptions = {}) { const headingId = index === 0 ? 0 : headingsMap[index - 1].id const sectionId = headingId ? options.prefix + headingId : undefined const wrapperNode = { - type: 'paragraph', + type: 'section', children, data: { hName: options.element, hProperties: { id: sectionId } }, }