diff --git a/scripts/addon-update.ts b/scripts/addon-update.ts index 76c3ebf9d..e901b672b 100644 --- a/scripts/addon-update.ts +++ b/scripts/addon-update.ts @@ -12,6 +12,10 @@ import path from 'path'; ).json(); // @ts-ignore item.description = d.description; + // remove html tags from description (e.g. ) + item.description = item.description.replace(/<[^>]*>?/gm, ''); + // remove markdown links from description (e.g. [link](url)) + item.description = item.description.replace(/\[(.*?)\]\(.*?\)/gm, '$1'); item.url = `https://www.npmjs.org/${item.name}`; item.registry = `https://registry.npmjs.org/${item.name}`; item.bundled = typeof item.bundled === 'boolean' ? item.bundled : false; diff --git a/website/sidebars.js b/website/sidebars.js index 0f3e92b9a..72136194a 100644 --- a/website/sidebars.js +++ b/website/sidebars.js @@ -70,7 +70,7 @@ module.exports = { 'plugin-filter', { type: 'link', - label: 'Search Plugins', + label: 'Search for Plugins & Tools', href: '/dev/plugins-search', }, ], diff --git a/website/src/components/EcosystemSearch/AddonCard.tsx b/website/src/components/EcosystemSearch/AddonCard.tsx index 2163d7a7e..19e7d74dd 100644 --- a/website/src/components/EcosystemSearch/AddonCard.tsx +++ b/website/src/components/EcosystemSearch/AddonCard.tsx @@ -17,6 +17,7 @@ import { useTheme } from '@mui/styles'; import * as React from 'react'; import { FC } from 'react'; +import CardLogo from './CardLogo'; import Icon from './Icon'; import { Addon } from './types'; @@ -54,6 +55,15 @@ const AddonCard: FC = ({ } + action={ + + + + } /> @@ -75,6 +85,7 @@ const AddonCard: FC = ({ > @@ -85,10 +96,11 @@ const AddonCard: FC = ({ /> - +