Update next and other deps

This commit is contained in:
2022-09-27 22:04:44 -04:00
parent f326bc1894
commit 2c25fdc731
7 changed files with 8343 additions and 2754 deletions

View File

@@ -19,12 +19,13 @@ function Note({ note }: any) {
<SyntaxHighlighter
showLineNumbers={true}
language={match[1]}
//@ts-ignore
style={monokaiSublime}
PreTag='div'
codeTagProps={{ style: { display: 'block' } }}
customStyle={{ padding: '0', borderRadius: '1rem' }}
{...props}
>{children}</SyntaxHighlighter>
>{String(children).replace(/\n$/, '')}</SyntaxHighlighter>
)
: <code className={className} {...props}>
{children}