feat(techradar-plugin) add markdown support in techradar entry description
Signed-off-by: Omer Farooq <frq.code@gmail.com>
This commit is contained in:
@@ -19,6 +19,7 @@ import Dialog from '@material-ui/core/Dialog';
|
||||
import DialogTitle from '@material-ui/core/DialogTitle';
|
||||
import { Button, DialogActions, DialogContent } from '@material-ui/core';
|
||||
import LinkIcon from '@material-ui/icons/Link';
|
||||
import { MarkdownContent } from '@backstage/core';
|
||||
|
||||
export type Props = {
|
||||
open: boolean;
|
||||
@@ -43,7 +44,9 @@ const RadarDescription = (props: Props): JSX.Element => {
|
||||
<DialogTitle data-testid="radar-description-dialog-title">
|
||||
{title}
|
||||
</DialogTitle>
|
||||
<DialogContent dividers>{description}</DialogContent>
|
||||
<DialogContent dividers>
|
||||
<MarkdownContent content={description} />
|
||||
</DialogContent>
|
||||
{url && (
|
||||
<DialogActions>
|
||||
<Button
|
||||
|
||||
Reference in New Issue
Block a user