Skip to content

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

chore: prefer long descriptions when available

Qiao Han2df07abdf45d
diff --git a/apps/docs/components/reference/CLICommandSection.tsx b/apps/docs/components/reference/CLICommandSection.tsx
index 09eb13dc4b3..9217dd4980f 100644
--- a/apps/docs/components/reference/CLICommandSection.tsx
+++ b/apps/docs/components/reference/CLICommandSection.tsx
@@ -66,9 +66,15 @@ const CliCommandSection = (props) => {
' mb-16',
].join(' ')}
>
- <p className="capitalize mb-4 scroll-mt-16 mt-0 text-scale-1100 text-base">
- {command.summary}
- </p>
+ {command.description ? (
+ <div className="prose">
+ <ReactMarkdown>{command.description}</ReactMarkdown>
+ </div>
+ ) : (
+ <p className="capitalize mb-4 scroll-mt-16 mt-0 text-scale-1100 text-base">
+ {command.summary}
+ </p>
+ )}
</header>
{command.subcommands.length > 0 && (