Skip to content

Commit

Permalink
Update StyledMarkdown.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
vinfinity7 authored Apr 15, 2024
1 parent d053c81 commit f139e0f
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions components/StyledMarkdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -265,11 +265,9 @@ const StyledMarkdownBlock = ({ markdown }: { markdown: string }) => {
);
},
},
th: {
th: {

Check failure on line 268 in components/StyledMarkdown.tsx

View workflow job for this annotation

GitHub Actions / Linting, Formatting and Type checking

Expected indentation of 12 spaces but found 11

Check failure on line 268 in components/StyledMarkdown.tsx

View workflow job for this annotation

GitHub Actions / Linting, Formatting and Type checking

Insert `·`
component: ({ children }) => (

<th className='border border-slate-300 dark:text-white p-4 dark:bg-slate-900 font-semibold text-black'>

{children}
</th>
),
Expand Down Expand Up @@ -548,13 +546,12 @@ export function TableOfContentMarkdown({
href={`#${slug}`}
className='block cursor-pointer mb-3 font-bold text-sm leading-4 ml-[-0.40rem] font-bold hover:text-blue-500'
>
<span className='mr-1 text-blue-400' style={{ fontSize: '1.5em' }}>&#9679;</span>
<span className='mr-1 text-blue-400' style={{ fontSize: '1.5em' }} >&#9679;</span>

Check failure on line 549 in components/StyledMarkdown.tsx

View workflow job for this annotation

GitHub Actions / Linting, Formatting and Type checking

Replace `·className='mr-1·text-blue-400'·style={{·fontSize:·'1.5em'·}}·>&#9679;` with `⏎····················className='mr-1·text-blue-400'⏎····················style={{·fontSize:·'1.5em'·}}⏎··················>⏎····················&#9679;⏎··················`
{children}
</a>
);
},
},
/* eslint-disable */
h3:
depth >= 3
? {
Expand Down

0 comments on commit f139e0f

Please sign in to comment.