From 888dad6ec2f3c78676422ad503dcf7ff81507552 Mon Sep 17 00:00:00 2001 From: kamtschatka Date: Mon, 15 Jul 2024 01:11:27 +0200 Subject: feature: Add github markdown support which includes tables, checklists and auto links #300 (#302) added the possibility to add checkboxes --- apps/web/components/dashboard/bookmarks/BookmarkedTextViewer.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'apps/web/components/dashboard/bookmarks/BookmarkedTextViewer.tsx') diff --git a/apps/web/components/dashboard/bookmarks/BookmarkedTextViewer.tsx b/apps/web/components/dashboard/bookmarks/BookmarkedTextViewer.tsx index 8a620341..88382cf7 100644 --- a/apps/web/components/dashboard/bookmarks/BookmarkedTextViewer.tsx +++ b/apps/web/components/dashboard/bookmarks/BookmarkedTextViewer.tsx @@ -1,5 +1,6 @@ import { Dialog, DialogContent } from "@/components/ui/dialog"; import Markdown from "react-markdown"; +import remarkGfm from "remark-gfm"; export function BookmarkedTextViewer({ content, @@ -13,7 +14,9 @@ export function BookmarkedTextViewer({ return ( - {content} + + {content} + ); -- cgit v1.2.3-70-g09d2