env
Env
Environment variables. Paste a `.env` fence: comments above a key describe it, and a comment that says required marks it. Label/value rows that are not variables are Spec.
.env
Paste the file. A comment above a key describes it. A comment that says required marks it.
- DATABASE_URL (required)postgres://localhost:5432/appPostgres connection string.
- SITE_URLhttps://mdxcn.devOrigin for absolute links in llms.txt
- ANALYTICS_ID—Leave empty to turn analytics off
MDX
<Env>
```bash
# Postgres connection string. Required.
DATABASE_URL=postgres://localhost:5432/app
# Origin for absolute links in llms.txt
SITE_URL=https://mdxcn.dev
# Leave empty to turn analytics off
ANALYTICS_ID=
```
</Env>install
command
as a list
Or write rows. Bold is required. `— note` sits under the key.
- QUEUE_URL (required)redis://localhost:6379jobs and retries
- CONCURRENCY4per process
- LOG_LEVELinfo
MDX
<Env title="WORKER">
- **QUEUE_URL**: redis://localhost:6379 — jobs and retries
- CONCURRENCY: 4 — per process
- LOG_LEVEL: info
</Env>| Prop | Type | Default | Description |
|---|---|---|---|
| title | string | ".env" | Caption drawn on the top edge of the frame. |
| children | Markdown | — | A fenced .env, or a list: `- **KEY**: value — note` (bold is required). |
| vars | { name, value?, note?, required? }[] | — | Data form. |
| palette | "mono" | "duo" | "multi" | "mono" | mono is one accent plus muted. duo paints the second series with --graph-accent-2. multi cycles three accents. |
| corner | string | "+" | Character at each corner of the frame. |
| className | string | — | Passed to the outer frame. |