From 93a52e00dafbaafbf3380b8e5bc82e6609cd76ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcus=20Bl=C3=A4ttermann?= Date: Mon, 21 Nov 2022 17:44:27 +0100 Subject: [PATCH] Rename wrapper type --- website/plugins/remarkWrapSections.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } }, }