Skip to content

Commit

Permalink
remove ul from markdown
Browse files Browse the repository at this point in the history
  • Loading branch information
vikibrezinova committed Dec 9, 2023
1 parent 9218c2b commit 24ce3c9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
3 changes: 1 addition & 2 deletions src/components/StaticSites/Markdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import rehypeKatex from 'rehype-katex'
import remarkGfm from 'remark-gfm'
import remarkMath from 'remark-math'

import {H1, H2, H3, MarkdownLink, P, Table, Td, Th, Ul} from './Texts'
import {H1, H2, H3, MarkdownLink, P, Table, Td, Th} from './Texts'

type MarkdownProps = {
content: string
Expand All @@ -25,7 +25,6 @@ export const Markdown: FC<MarkdownProps> = ({content}) => (
h1: H1,
h2: H2,
h3: H3,
ul: Ul,
}}
>
{content}
Expand Down
5 changes: 0 additions & 5 deletions src/components/StaticSites/Texts.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,3 @@ export const H3: FC<ReactMarkdownProps> = ({children}) => (
{children}
</Typography>
)
export const Ul: FC<ReactMarkdownProps> = ({children}) => (
<Typography variant="body1" sx={{marginTop: 1}}>
{children}
</Typography>
)

0 comments on commit 24ce3c9

Please sign in to comment.