feat: display media URLs on click

This commit is contained in:
2023-08-02 09:31:45 +02:00
parent 7a6e43d638
commit a11eeef698
12 changed files with 150 additions and 26 deletions

View File

@ -30,6 +30,9 @@ export function Markdown({ content, tags = [] }: MarkdownProps) {
td: ({ children }: ComponentProps) => {
return children && <td>{transformText(children, tags)}</td>;
},
th: ({ children }: ComponentProps) => {
return children && <th>{transformText(children, tags)}</th>;
},
p: ({ children }: ComponentProps) => {
return children && <p>{transformText(children, tags)}</p>;
},