From 6c2cc285666c93661ae94b7a8adc910ed089d0e9 Mon Sep 17 00:00:00 2001 From: Pranjali Date: Thu, 19 Feb 2026 11:50:48 +0530 Subject: [PATCH 1/8] added main --- src/components/Page/Page.jsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/Page/Page.jsx b/src/components/Page/Page.jsx index d74a46b8cc62..bc29140bcf07 100644 --- a/src/components/Page/Page.jsx +++ b/src/components/Page/Page.jsx @@ -100,6 +100,7 @@ export default function Page(props) { } return (
+

{title}

@@ -143,6 +144,7 @@ export default function Page(props) { )}
+
); } From 6e040662819b27ab9708c3e5035b162707b53d99 Mon Sep 17 00:00:00 2001 From: Pranjali Date: Thu, 19 Feb 2026 12:24:59 +0530 Subject: [PATCH 2/8] fix: headings --- src/remark-plugins/remark-custom-asides/index.mjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/remark-plugins/remark-custom-asides/index.mjs b/src/remark-plugins/remark-custom-asides/index.mjs index 5bb8588b935d..6b41957135d2 100644 --- a/src/remark-plugins/remark-custom-asides/index.mjs +++ b/src/remark-plugins/remark-custom-asides/index.mjs @@ -37,11 +37,11 @@ export default function remarkCustomAsides( // remove custom characters from paragraph node.children = [ { - type: "heading", - depth: 6, + type: "paragraph", data: { // see https://github.com/syntax-tree/mdast-util-to-hast#hname // add a className to heading + hName: "p", hProperties: { className: `${className}__prefix`, }, From 66e7992e069347dd250ab7f5e88dcc7aa321439f Mon Sep 17 00:00:00 2001 From: Pranjali Date: Thu, 19 Feb 2026 12:28:55 +0530 Subject: [PATCH 3/8] revert: remove unintended Page.jsx changes from PR --- src/components/Page/Page.jsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/components/Page/Page.jsx b/src/components/Page/Page.jsx index bc29140bcf07..d74a46b8cc62 100644 --- a/src/components/Page/Page.jsx +++ b/src/components/Page/Page.jsx @@ -100,7 +100,6 @@ export default function Page(props) { } return (
-

{title}

@@ -144,7 +143,6 @@ export default function Page(props) { )}
-
); } From f0e9115d7deda0145358db6af8e38cd08882dee7 Mon Sep 17 00:00:00 2001 From: Pranjali Date: Thu, 19 Feb 2026 12:49:29 +0530 Subject: [PATCH 4/8] test: update aside prefix snapshot --- .../remark-custom-asides/__snapshots__/index.test.mjs.snap | 2 +- src/remark-plugins/remark-custom-asides/index.test.mjs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/remark-plugins/remark-custom-asides/__snapshots__/index.test.mjs.snap b/src/remark-plugins/remark-custom-asides/__snapshots__/index.test.mjs.snap index 8c48ad1756b4..fed7d91e4e55 100644 --- a/src/remark-plugins/remark-custom-asides/__snapshots__/index.test.mjs.snap +++ b/src/remark-plugins/remark-custom-asides/__snapshots__/index.test.mjs.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`customize blockquote should transform W> into aside of warning 1`] = ` -" +" " `; diff --git a/src/remark-plugins/remark-custom-asides/index.test.mjs b/src/remark-plugins/remark-custom-asides/index.test.mjs index 731e4b5040ce..fac324627734 100644 --- a/src/remark-plugins/remark-custom-asides/index.test.mjs +++ b/src/remark-plugins/remark-custom-asides/index.test.mjs @@ -20,7 +20,7 @@ W> hello world (err, { value: contents }) => { expect(err).toBeUndefined(); expect(contents).toContain('