diff --git a/client/components/app/Comment/index.jsx b/client/components/app/Comment/index.jsx index cb93fd4..afa0008 100644 --- a/client/components/app/Comment/index.jsx +++ b/client/components/app/Comment/index.jsx @@ -1,4 +1,5 @@ import { useState } from 'react'; +import Markdown from 'react-markdown' import UserHoverCard from '@/components/app/HoverCard'; import Dropdown from '@/components/app/Comment/Dropdown'; import LikeButton from '@/components/app/Comment/LikeButton'; @@ -18,9 +19,7 @@ export default function Comment({ comment: initialComment, onDelete }) { -
- {comment.content} -
+ {comment.content}
diff --git a/client/components/app/Navbar/PostModal.jsx b/client/components/app/Navbar/PostModal.jsx index bf157e6..c45a81b 100644 --- a/client/components/app/Navbar/PostModal.jsx +++ b/client/components/app/Navbar/PostModal.jsx @@ -94,6 +94,7 @@ export default function PostModal() { )} /> +
* markdown destekliyor