Skip to content

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

docs: fix numbered list rendering in secrets-limit troubleshooting doc (#50479)

Tina Haf69195f9dfa2
diff --git a/apps/docs/content/troubleshooting/working-around-the-edge-function-secrets-limit.mdx b/apps/docs/content/troubleshooting/working-around-the-edge-function-secrets-limit.mdx
index 3fe41299d3b..818064d9a2c 100644
--- a/apps/docs/content/troubleshooting/working-around-the-edge-function-secrets-limit.mdx
+++ b/apps/docs/content/troubleshooting/working-around-the-edge-function-secrets-limit.mdx
@@ -15,22 +15,22 @@ Supabase doesn't raise this limit on a per-project basis today. The workaround b
1. Group related credentials into a JSON object and store it under a single secret name:
-```bash
-supabase secrets set API_KEYS='{"stripe":"sk_live_xxx","sendgrid":"SG.xxx","aws":"xxx"}'
-```
+ ```bash
+ supabase secrets set API_KEYS='{"stripe":"sk_live_xxx","sendgrid":"SG.xxx","aws":"xxx"}'
+ ```
-This counts as **one** secret against the 100 limit, no matter how many keys are nested inside it.
+ This counts as **one** secret against the 100 limit, no matter how many keys are nested inside it.
2. Read it back in your function with `Deno.env.get()` and `JSON.parse`:
-```typescript
-const raw = Deno.env.get('API_KEYS')
-if (!raw) {
- throw new Error('Missing API_KEYS secret')
-}
-const keys = JSON.parse(raw)
-const stripeKey = keys.stripe
-```
+ ```typescript
+ const raw = Deno.env.get('API_KEYS')
+ if (!raw) {
+ throw new Error('Missing API_KEYS secret')
+ }
+ const keys = JSON.parse(raw)
+ const stripeKey = keys.stripe
+ ```
3. Confirm it was set with `supabase secrets list`.