Skip to content

Commit

Permalink
better markdown
Browse files Browse the repository at this point in the history
  • Loading branch information
gkasdorf committed Jun 17, 2023
1 parent abd000b commit 3a5e3fa
Show file tree
Hide file tree
Showing 17 changed files with 193 additions and 447 deletions.
3 changes: 2 additions & 1 deletion components/ui/ContentView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ const ContentView = ({post, truncate = false, showBody = false, showTitle = fals
const theme = useTheme();

const textColor = truncate ? theme.colors.gray[400] : theme.colors.white;
const body = truncate ? parseMarkdown(truncatePost(post.post.body, 200)) : parseMarkdown(post.post.body);
//const body = truncate ? parseMarkdown(truncatePost(post.post.body, 200)) : parseMarkdown(post.post.body);
const body = truncate ? truncatePost(post.post.body, 200) : post.post.body;

return (
<>
Expand Down
25 changes: 0 additions & 25 deletions components/ui/markdown/MarkdownBlockquote.tsx

This file was deleted.

13 changes: 0 additions & 13 deletions components/ui/markdown/MarkdownBreak.tsx

This file was deleted.

23 changes: 0 additions & 23 deletions components/ui/markdown/MarkdownCode.tsx

This file was deleted.

33 changes: 0 additions & 33 deletions components/ui/markdown/MarkdownDetails.tsx

This file was deleted.

20 changes: 0 additions & 20 deletions components/ui/markdown/MarkdownHeaderOne.tsx

This file was deleted.

20 changes: 0 additions & 20 deletions components/ui/markdown/MarkdownHeaderTwo.tsx

This file was deleted.

32 changes: 0 additions & 32 deletions components/ui/markdown/MarkdownImage.tsx

This file was deleted.

16 changes: 0 additions & 16 deletions components/ui/markdown/MarkdownList.tsx

This file was deleted.

16 changes: 0 additions & 16 deletions components/ui/markdown/MarkdownListItem.tsx

This file was deleted.

22 changes: 0 additions & 22 deletions components/ui/markdown/MarkdownPre.tsx

This file was deleted.

22 changes: 0 additions & 22 deletions components/ui/markdown/MarkdownText.tsx

This file was deleted.

Empty file.
16 changes: 0 additions & 16 deletions components/ui/markdown/MarkdownWrapper.tsx

This file was deleted.

Loading

0 comments on commit 3a5e3fa

Please sign in to comment.