Skip to content

view on a desktop screen for a better experience.

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.

[ .env ]
  • 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.

[ WORKER ]
  • 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>
[ PROPS ]
PropTypeDefaultDescription
titlestring".env"Caption drawn on the top edge of the frame.
childrenMarkdown—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.
cornerstring"+"Character at each corner of the frame.
classNamestring—Passed to the outer frame.