mirror of
https://github.com/supabase/supabase.git
synced 2026-10-05 17:35:10 +03:00
fix code block issue
This commit is contained in:
1 parent
f29e7f63b0
commit
84a4856097
1 file changed
+5
-5
@@ -54,12 +54,12 @@ const components = {
|
||||
{props.children}
|
||||
</Heading>
|
||||
),
|
||||
pre: (props: any) => {
|
||||
const linesToHighlight = parseNumericRange(props.lines ?? '')
|
||||
return <CodeBlock {...props} linesToHighlight={linesToHighlight} />
|
||||
},
|
||||
// pre: (props: any) => {
|
||||
// const linesToHighlight = parseNumericRange(props.lines ?? '')
|
||||
// return <CodeBlock {...props} linesToHighlight={linesToHighlight} />
|
||||
// },
|
||||
mono: (props: any) => <code className="text-sm">{props.children}</code>,
|
||||
inlineCode: (props: { children: string }) => <InlineCodeTag {...props} />,
|
||||
// inlineCode: (props: { children: string }) => <InlineCodeTag {...props} />,
|
||||
RefSubLayout,
|
||||
CH,
|
||||
code: (props: any) => <CodeBlock {...props} />,
|
||||
|
||||
Reference in new issue
Block a user