Skip to content

Commit 0b0434e

Browse files
committed
Update command styling
1 parent 7d12b72 commit 0b0434e

File tree

4 files changed

+64
-64
lines changed

4 files changed

+64
-64
lines changed

src/content/docs/cloudflare-one/policies/browser-isolation/isolation-policies.mdx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -141,8 +141,8 @@ Isolate high risk content categories such as newly registered domains.
141141

142142
<TabItem label="API">
143143

144-
```sh
145-
curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rule\
144+
```bash
145+
curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rule \
146146
--header "Content-Type: application/json" \
147147
--header "Authorization: Bearer <API_TOKEN>" \
148148
--data '{
@@ -175,8 +175,8 @@ Isolate news and media sites, which are targets for malvertising attacks.
175175

176176
<TabItem label="API">
177177

178-
```sh
179-
curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rule\
178+
```bash
179+
curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rule \
180180
--header "Content-Type: application/json" \
181181
--header "Authorization: Bearer <API_TOKEN>" \
182182
--data '{
@@ -209,8 +209,8 @@ Isolate content that has not been categorized by [Cloudflare Radar](/radar/).
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 '{
@@ -245,8 +245,8 @@ In **Configure policy settings**, you can customize restrictions for ChatGPT. Fo
245245

246246
<TabItem label="API">
247247

248-
```sh
249-
curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rule\
248+
```bash
249+
curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rule \
250250
--header "Content-Type: application/json" \
251251
--header "Authorization: Bearer <API_TOKEN>" \
252252
--data '{

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

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ This policy allows users to access official corporate domains. By deploying the
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 @@ Block [security categories](/cloudflare-one/policies/gateway/domain-categories/#
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 '{
@@ -96,8 +96,8 @@ The categories included in this policy are not always a security threat, but blo
9696

9797
<TabItem label="API">
9898

99-
```sh
100-
curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rule\
99+
```bash
100+
curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rule \
101101
--header "Content-Type: application/json" \
102102
--header "Authorization: Bearer <API_TOKEN>" \
103103
--data '{
@@ -129,8 +129,8 @@ curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rule\
129129

130130
<TabItem label="API">
131131

132-
```sh
133-
curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rule\
132+
```bash
133+
curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rule \
134134
--header "Content-Type: application/json" \
135135
--header "Authorization: Bearer <API_TOKEN>" \
136136
--data '{
@@ -162,8 +162,8 @@ You can implement policies to block websites hosted in countries categorized as
162162

163163
<TabItem label="API">
164164

165-
```sh
166-
curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rule\
165+
```bash
166+
curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rule \
167167
--header "Content-Type: application/json" \
168168
--header "Authorization: Bearer <API_TOKEN>" \
169169
--data '{
@@ -197,8 +197,8 @@ Blocking [frequently misused](https://www.spamhaus.org/statistics/tlds/) top-lev
197197

198198
<TabItem label="API">
199199

200-
```sh
201-
curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rule\
200+
```bash
201+
curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rule \
202202
--header "Content-Type: application/json" \
203203
--header "Authorization: Bearer <API_TOKEN>" \
204204
--data '{
@@ -231,8 +231,8 @@ To protect against [sophisticated phishing attacks](https://blog.cloudflare.com/
231231

232232
<TabItem label="API">
233233

234-
```sh
235-
curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rule\
234+
```bash
235+
curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rule \
236236
--header "Content-Type: application/json" \
237237
--header "Authorization: Bearer <API_TOKEN>" \
238238
--data '{
@@ -266,8 +266,8 @@ To safeguard user privacy, some organizations will block tracking domains such a
266266

267267
<TabItem label="API">
268268

269-
```sh
270-
curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rule\
269+
```bash
270+
curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rule \
271271
--header "Content-Type: application/json" \
272272
--header "Authorization: Bearer <API_TOKEN>" \
273273
--data '{
@@ -301,8 +301,8 @@ Block specific IP addresses that are known to be malicious or pose a threat to y
301301

302302
<TabItem label="API">
303303

304-
```sh
305-
curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rule\
304+
```bash
305+
curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rule \
306306
--header "Content-Type: application/json" \
307307
--header "Authorization: Bearer <API_TOKEN>" \
308308
--data '{
@@ -336,8 +336,8 @@ The CIPA (Children's Internet Protection Act) Filter is a collection of subcateg
336336

337337
<TabItem label="API">
338338

339-
```sh
340-
curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rule\
339+
```bash
340+
curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rule \
341341
--header "Content-Type: application/json" \
342342
--header "Authorization: Bearer <API_TOKEN>" \
343343
--data '{
@@ -369,8 +369,8 @@ SafeSearch is a feature of search engines that helps you filter explicit or offe
369369

370370
<TabItem label="API">
371371

372-
```sh
373-
curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rule\
372+
```bash
373+
curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rule \
374374
--header "Content-Type: application/json" \
375375
--header "Authorization: Bearer <API_TOKEN>" \
376376
--data '{
@@ -403,8 +403,8 @@ curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rule\
403403

404404
<TabItem label="API">
405405

406-
```sh
407-
curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rule\
406+
```bash
407+
curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rule \
408408
--header "Content-Type: application/json" \
409409
--header "Authorization: Bearer <API_TOKEN>" \
410410
--data '{
@@ -441,8 +441,8 @@ The following example includes two policies. The first policy allows the specifi
441441

442442
<TabItem label="API">
443443

444-
```sh
445-
curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rule\
444+
```bash
445+
curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rule \
446446
--header "Content-Type: application/json" \
447447
--header "Authorization: Bearer <API_TOKEN>" \
448448
--data '{
@@ -473,8 +473,8 @@ curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rule\
473473

474474
<TabItem label="API">
475475

476-
```sh
477-
curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rule\
476+
```bash
477+
curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rule \
478478
--header "Content-Type: application/json" \
479479
--header "Authorization: Bearer <API_TOKEN>" \
480480
--data '{
@@ -516,8 +516,8 @@ Force users to connect with IPv4 by blocking IPv6 resolution.
516516

517517
<TabItem label="API">
518518

519-
```sh
520-
curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rule\
519+
```bash
520+
curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rule \
521521
--header "Content-Type: application/json" \
522522
--header "Authorization: Bearer <API_TOKEN>" \
523523
--data '{
@@ -550,8 +550,8 @@ Force users to connect with IPv6 by blocking IPv4 resolution.
550550

551551
<TabItem label="API">
552552

553-
```sh
554-
curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rule\
553+
```bash
554+
curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rule \
555555
--header "Content-Type: application/json" \
556556
--header "Authorization: Bearer <API_TOKEN>" \
557557
--data '{

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

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ Block all subdomains that use a host.
3232

3333
<TabItem label="API">
3434

35-
```sh
36-
curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rule\
35+
```bash
36+
curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rule \
3737
--header "Content-Type: application/json" \
3838
--header "Authorization: Bearer <API_TOKEN>" \
3939
--data '{
@@ -66,8 +66,8 @@ Block a section of a site without blocking the entire site. For example, you can
6666

6767
<TabItem label="API">
6868

69-
```sh
70-
curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rule\
69+
```bash
70+
curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rule \
7171
--header "Content-Type: application/json" \
7272
--header "Authorization: Bearer <API_TOKEN>" \
7373
--data '{
@@ -100,8 +100,8 @@ Block content categories which go against your organization's acceptable use pol
100100

101101
<TabItem label="API">
102102

103-
```sh
104-
curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rule\
103+
```bash
104+
curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rule \
105105
--header "Content-Type: application/json" \
106106
--header "Authorization: Bearer <API_TOKEN>" \
107107
--data '{
@@ -134,8 +134,8 @@ curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rule\
134134

135135
<TabItem label="API">
136136

137-
```sh
138-
curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rule\
137+
```bash
138+
curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rule \
139139
--header "Content-Type: application/json" \
140140
--header "Authorization: Bearer <API_TOKEN>" \
141141
--data '{
@@ -169,8 +169,8 @@ curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rule\
169169

170170
<TabItem label="API">
171171

172-
```sh
173-
curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rule\
172+
```bash
173+
curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rule \
174174
--header "Content-Type: application/json" \
175175
--header "Authorization: Bearer <API_TOKEN>" \
176176
--data '{
@@ -205,8 +205,8 @@ Gateway [evaluates Do Not Inspect policies first](/cloudflare-one/policies/gatew
205205

206206
<TabItem label="API">
207207

208-
```sh
209-
curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rule\
208+
```bash
209+
curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rule \
210210
--header "Content-Type: application/json" \
211211
--header "Authorization: Bearer <API_TOKEN>" \
212212
--data '{
@@ -247,8 +247,8 @@ Perform an [OS version check](/cloudflare-one/identity/devices/warp-client-check
247247

248248
<TabItem label="API">
249249

250-
```sh
251-
curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rule\
250+
```bash
251+
curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rule \
252252
--header "Content-Type: application/json" \
253253
--header "Authorization: Bearer <API_TOKEN>" \
254254
--data '{
@@ -286,8 +286,8 @@ Since the file path will be different for each operating system, you can configu
286286

287287
<TabItem label="API">
288288

289-
```sh
290-
curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rule\
289+
```bash
290+
curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rule \
291291
--header "Content-Type: application/json" \
292292
--header "Authorization: Bearer <API_TOKEN>" \
293293
--data '{
@@ -330,8 +330,8 @@ When accessing origin servers with certificates not signed by a public certifica
330330

331331
<TabItem label="API">
332332

333-
```sh
334-
curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rule\
333+
```bash
334+
curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rule \
335335
--header "Content-Type: application/json" \
336336
--header "Authorization: Bearer <API_TOKEN>" \
337337
--data '{
@@ -375,8 +375,8 @@ Block file downloads from Google Drive.
375375

376376
<TabItem label="API">
377377

378-
```sh
379-
curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rule\
378+
```bash
379+
curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rule \
380380
--header "Content-Type: application/json" \
381381
--header "Authorization: Bearer <API_TOKEN>" \
382382
--data '{
@@ -410,8 +410,8 @@ Block file downloads from Gmail.
410410

411411
<TabItem label="API">
412412

413-
```sh
414-
curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rule\
413+
```bash
414+
curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rule \
415415
--header "Content-Type: application/json" \
416416
--header "Authorization: Bearer <API_TOKEN>" \
417417
--data '{

src/content/partials/cloudflare-one/gateway/policies/block-file-types.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ Block the upload or download of files based on their type.
1717

1818
<TabItem label="API">
1919

20-
```sh
21-
curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rule\
20+
```bash
21+
curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rule \
2222
--header "Content-Type: application/json" \
2323
--header "Authorization: Bearer <API_TOKEN>" \
2424
--data '{

0 commit comments

Comments
 (0)