diff --git a/.changeset/mean-panthers-wonder.md b/.changeset/mean-panthers-wonder.md new file mode 100644 index 0000000000..1659c855f8 --- /dev/null +++ b/.changeset/mean-panthers-wonder.md @@ -0,0 +1,5 @@ +--- +'@backstage/plugin-scaffolder': patch +--- + +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 3a7691dd5a..7275aa3a9e 100644 --- a/plugins/scaffolder/src/components/TemplateCard/TemplateCard.tsx +++ b/plugins/scaffolder/src/components/TemplateCard/TemplateCard.tsx @@ -44,7 +44,11 @@ import WarningIcon from '@material-ui/icons/Warning'; import React from 'react'; import { selectedTemplateRouteRef } from '../../routes'; -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 => ({ @@ -178,7 +182,7 @@ export const TemplateCard = ({ template, deprecated }: TemplateCardProps) => { Description - {templateProps.description} +