diff --git a/src/app/_components/FilePreview.tsx b/src/app/_components/FilePreview.tsx
index 119e0cd..93688fb 100644
--- a/src/app/_components/FilePreview.tsx
+++ b/src/app/_components/FilePreview.tsx
@@ -89,7 +89,7 @@ export function FilePreview({ fileId, fileType }: FilePreviewProps) {
        );
   }
-  if (getFileType(fileType).startsWith("code")) {
+  if (getFileType(fileType).startsWith("code") || getFileType(fileType).startsWith("markdown")) {
     return (
     );
   }
-  if (getFileType(fileType).startsWith("code")) {
+  if (getFileType(fileType).startsWith("code") || getFileType(fileType).startsWith("markdown")) {
     return (
        );
     );