diff --git a/apps/frontend/components/templates/Registry/helpers.ts b/apps/frontend/components/templates/Registry/helpers.ts index 400519245..10e1b4d79 100644 --- a/apps/frontend/components/templates/Registry/helpers.ts +++ b/apps/frontend/components/templates/Registry/helpers.ts @@ -19,7 +19,10 @@ export const getDescriptionShortText = (description: string) => { const descriptionWithoutHeadings = description .split("\n") .filter( - (line) => !line.startsWith("# ") && !line.startsWith("## Description"), + (line) => + !line.startsWith("# ") && + !line.startsWith("## Description") && + !line.startsWith("## Example"), ) .join("\n");