diff --git a/src/components/utils/DfMd.tsx b/src/components/utils/DfMd.tsx index 6a491c1fc..d38091dd2 100644 --- a/src/components/utils/DfMd.tsx +++ b/src/components/utils/DfMd.tsx @@ -1,4 +1,5 @@ import ReactMarkdown from 'react-markdown' +import remarkGfm from 'remark-gfm' interface Props { source?: string @@ -6,7 +7,11 @@ interface Props { } export const DfMd = ({ source, className = '' }: Props) => ( - + {source?.replaceAll('(https://app.subsocial.network/ipfs', '(https://ipfs.subsocial.network') ?? ''}