Skip to content

Commit 82d4331

Browse files
committed
copyedit sending data
1 parent d6df618 commit 82d4331

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

authentication-personalization/sending-data.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,12 @@ type User = {
4444
Custom data accessible in your `MDX` content via the `user` variable. Use this for dynamic personalization throughout your documentation.
4545

4646
**Example**:
47-
```JSON
47+
```json
4848
{ "firstName": "Ronan", "company": "Acme Corp", "plan": "Enterprise" }
4949
```
5050

5151
**Usage in `MDX`**:
52-
```MDX
52+
```mdx
5353
Welcome back, {user.firstName}! Your {user.plan} plan includes...
5454
```
5555
With the example `user` data, this would render as: Welcome back, Ronan! Your Enterprise plan includes...
@@ -70,7 +70,7 @@ type User = {
7070
```
7171
If a user makes requests at a specific subdomain, you can send `{ server: { subdomain: 'foo' } }` as an `apiPlaygroundInputs` field. This value will be prefilled on any API page with the `subdomain` value.
7272

73-
<Note>The`header`, `query`, and `cookie` fields will only prefill if they are part of your [OpenAPI security scheme](https://swagger.io/docs/specification/authentication/). If a field is in either the `Authorization` or `Server` sections, it will prefill. Creating a standard header parameter named `Authorization` will not enable this feature.</Note>
73+
<Note>The `header`, `query`, and `cookie` fields will only prefill if they are part of your [OpenAPI security scheme](https://swagger.io/docs/specification/authentication/). If a field is in either the `Authorization` or `Server` sections, it will prefill. Creating a standard header parameter named `Authorization` will not enable this feature.</Note>
7474
</ParamField>
7575

7676
## Example user data

0 commit comments

Comments
 (0)