diff --git a/.changeset/mean-panthers-wonder.md b/.changeset/mean-panthers-wonder.md new file mode 100644 index 0000000000..f055c4a064 --- /dev/null +++ b/.changeset/mean-panthers-wonder.md @@ -0,0 +1,5 @@ +--- +'@backstage/plugin-scaffolder': minor +--- + +Render markdown for description in software templates diff --git a/plugins/scaffolder/src/components/TemplateCard/TemplateCard.tsx b/plugins/scaffolder/src/components/TemplateCard/TemplateCard.tsx index 3495409dd6..aa895a35fa 100644 --- a/plugins/scaffolder/src/components/TemplateCard/TemplateCard.tsx +++ b/plugins/scaffolder/src/components/TemplateCard/TemplateCard.tsx @@ -45,7 +45,11 @@ import { generatePath } from 'react-router'; import { rootRouteRef } from '../../routes'; import { FavouriteTemplate } from '../FavouriteTemplate/FavouriteTemplate'; -import { Button, ItemCardHeader } from '@backstage/core-components'; +import { + Button, + ItemCardHeader, + MarkdownContent, +} from '@backstage/core-components'; import { useApi, useRouteRef } from '@backstage/core-plugin-api'; const useStyles = makeStyles(theme => ({ @@ -175,7 +179,7 @@ export const TemplateCard = ({ template, deprecated }: TemplateCardProps) => { Description - {templateProps.description} +