From e64ceba2409225451e5330950f2566b2493eac11 Mon Sep 17 00:00:00 2001 From: Maria Hutt Date: Thu, 13 Aug 2026 14:45:58 -0700 Subject: [PATCH] chore(api): generate heading IDs with MDX comment syntax --- plugins/docusaurus-plugin-ionic-component-api/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/docusaurus-plugin-ionic-component-api/index.js b/plugins/docusaurus-plugin-ionic-component-api/index.js index 0eedab7833..9c3d1aaed2 100644 --- a/plugins/docusaurus-plugin-ionic-component-api/index.js +++ b/plugins/docusaurus-plugin-ionic-component-api/index.js @@ -213,7 +213,7 @@ ${properties } return ` -### ${prop.name} ${isDeprecated ? '(deprecated)' : ''} {#${propertyHeadingId(prop.name)}} +### ${prop.name} ${isDeprecated ? '(deprecated)' : ''} {/* #${propertyHeadingId(prop.name)} */} | | | | --- | --- | @@ -275,7 +275,7 @@ function renderMethods({ methods }) { ${methods .map( (method) => ` -### ${method.name} {#${methodHeadingId(method.name)}} +### ${method.name} {/* #${methodHeadingId(method.name)} */} | | | | --- | --- |