Skip to content

Commit

Permalink
fix[docs/learn]: remove unused replace and restore font sizes post te…
Browse files Browse the repository at this point in the history
…sting
  • Loading branch information
Karan-Palan committed Jan 12, 2025
1 parent a709388 commit 99e7b1e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions components/StyledMarkdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -309,18 +309,18 @@ const StyledMarkdownBlock = ({ markdown }: { markdown: string }) => {
return (
<div className='overflow-x-auto rounded-lg bg-gray-800 text-white'>
<Highlight
language={language.replace('language-', '')}
language={language}
style={atomOneDark}
showLineNumbers
lineNumberStyle={{
color: '#888',
fontSize: '12px',
fontSize: '16px',
paddingRight: '10px',
}}
customStyle={{
padding: '12px',
fontFamily: 'monospace',
fontSize: '14px',
fontSize: '16px',
}}
codeTagProps={{
style: {
Expand Down

0 comments on commit 99e7b1e

Please sign in to comment.