Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

fix code block issue

Jonathan Summers-Muir84a485609705
diff --git a/apps/docs/components/index.tsx b/apps/docs/components/index.tsx
index c1eb40bd281..95134d5aa67 100644
--- a/apps/docs/components/index.tsx
+++ b/apps/docs/components/index.tsx
@@ -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} />,