Skip to content

Commit e382fdd

Browse files
committed
Update command styling
1 parent 5ad1fab commit e382fdd

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

src/content/docs/cloudflare-one/policies/gateway/network-policies/common-policies.mdx

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ Refer to the [network policies page](/cloudflare-one/policies/gateway/network-po
2828

2929
<TabItem label="API">
3030

31-
```sh
32-
curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rule\
31+
```bash
32+
curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rule \
3333
--header "Content-Type: application/json" \
3434
--header "Authorization: Bearer <API_TOKEN>" \
3535
--data '{
@@ -63,8 +63,8 @@ curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rule\
6363

6464
<TabItem label="API">
6565

66-
```sh
67-
curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rule\
66+
```bash
67+
curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rule \
6868
--header "Content-Type: application/json" \
6969
--header "Authorization: Bearer <API_TOKEN>" \
7070
--data '{
@@ -95,8 +95,8 @@ Require devices to have certain software installed or other configuration attrib
9595

9696
<TabItem label="API">
9797

98-
```sh
99-
curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rule\
98+
```bash
99+
curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rule \
100100
--header "Content-Type: application/json" \
101101
--header "Authorization: Bearer <API_TOKEN>" \
102102
--data '{
@@ -138,8 +138,8 @@ Restrict user access to only the specific sites or applications configured in yo
138138

139139
<TabItem label="API">
140140

141-
```sh
142-
curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rule\
141+
```bash
142+
curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rule \
143143
--header "Content-Type: application/json" \
144144
--header "Authorization: Bearer <API_TOKEN>" \
145145
--data '{
@@ -170,8 +170,8 @@ curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rule\
170170

171171
<TabItem label="API">
172172

173-
```sh
174-
curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rule\
173+
```bash
174+
curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rule \
175175
--header "Content-Type: application/json" \
176176
--header "Authorization: Bearer <API_TOKEN>" \
177177
--data '{
@@ -209,8 +209,8 @@ The following example consists of two policies: the first allows specific users
209209

210210
<TabItem label="API">
211211

212-
```sh
213-
curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rule\
212+
```bash
213+
curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rule \
214214
--header "Content-Type: application/json" \
215215
--header "Authorization: Bearer <API_TOKEN>" \
216216
--data '{
@@ -241,8 +241,8 @@ curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rule\
241241

242242
<TabItem label="API">
243243

244-
```sh
245-
curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rule\
244+
```bash
245+
curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rule \
246246
--header "Content-Type: application/json" \
247247
--header "Authorization: Bearer <API_TOKEN>" \
248248
--data '{

0 commit comments

Comments
 (0)