Skip to content

Commit 0850d52

Browse files
committed
[Docs] Fix unknown syntax languages
1 parent af6d3fe commit 0850d52

File tree

3 files changed

+16
-18
lines changed

3 files changed

+16
-18
lines changed

src/content/docs/learning-paths/mtls/mtls-app-security/index.mdx

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ By default, mTLS uses Client Certificates issued by a Cloudflare Managed CA. Clo
1616
## 1. Enable mTLS
1717

1818
1. Go to your Cloudflare dashboard and select your account and domain.
19-
2. Go to **SSL/TLS** > **[Client Certificates](/ssl/client-certificates/)** tab and select **Edit** to add the Hosts (hostnames) you want to [enable mTLS](/ssl/client-certificates/enable-mtls/) for.
19+
2. Go to **SSL/TLS** > **[Client Certificates](/ssl/client-certificates/)** tab and select **Edit** to add the Hosts (hostnames) you want to [enable mTLS](/ssl/client-certificates/enable-mtls/) for.
2020

21-
Example host: `mtls-test.example.com`
21+
Example host: `mtls-test.example.com`
2222

2323
3. Select **Create Certificate** and fill in the required fields. You can choose one of the following options:
2424

@@ -41,19 +41,19 @@ In order for a client to utilize the Client Certificate you created, it must be
4141

4242
We generally recommended using one Client Certificate per device. Configuring your system to actually use the Public and Private Certificates is especially important.
4343

44-
An example is to [add both certificates to the Keychain](https://support.apple.com/en-gb/guide/keychain-access/kyca2431/mac) on a MacBook laptop.
44+
An example is to [add both certificates to the Keychain](https://support.apple.com/en-gb/guide/keychain-access/kyca2431/mac) on a MacBook laptop.
4545

4646
Another example is to generate a [PKCS12 (P12) certificate](https://en.wikipedia.org/wiki/PKCS_12) file and then [add it to your browser](https://www.ibm.com/docs/en/engineering-lifecycle-management-suite/lifecycle-management/7.0.2?topic=dashboards-importing-certificates-configuring-browsers):
4747

48-
```txt
48+
```sh
4949
openssl pkcs12 -export -out certificate.p12 -inkey private-cert.pem -in cert.pem
5050
```
5151

5252
Use the values from the previous step.
5353

5454
Example using cURL command:
5555

56-
```cURL
56+
```sh
5757
curl -v --cert cert.pem --key private-cert.pem <HOSTNAME>
5858
```
5959

@@ -77,18 +77,22 @@ Ensure you are not using a VPN that could interfere with certificates or TLS dec
7777

7878
With the Public and Private Certificates in the same directory, with this cURL command, we will gain access:
7979

80-
```curl
80+
```sh
8181
curl -I --cert cert.pem --key private-cert.pem https://mtls-test.example.com/mtls-test
82+
```
8283

83-
HTTP/2 200
84+
```txt output
85+
HTTP/2 200
8486
server: cloudflare
8587
```
8688

8789
Without the certificates, the terminal will display the following:
8890

89-
```curl
90-
$ curl -I https://mtls-test.example.com/mtls-test
91+
```sh
92+
curl -I https://mtls-test.example.com/mtls-test
93+
```
9194

95+
```txt output
9296
HTTP/2 403
9397
server: cloudflare
94-
```
98+
```

src/content/docs/r2/tutorials/summarize-pdf.mdx

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ To view the front-end of your application, run the following command and navigat
218218
npm run dev
219219
```
220220

221-
```output
221+
```txt output
222222
⛅️ wrangler 3.80.2
223223
-------------------
224224
@@ -239,8 +239,6 @@ When you open the URL in your browser, you will see that there is a file upload
239239

240240
To handle the file upload, you will first need to add the R2 binding. In the `wrangler.toml` file, add the following code:
241241

242-
243-
244242
<WranglerConfig>
245243

246244
```toml
@@ -309,8 +307,6 @@ npx wrangler queues create pdf-summarizer
309307

310308
Add the binding to the `wrangler.toml` file:
311309

312-
313-
314310
<WranglerConfig>
315311

316312
```toml title="wrangler.toml"
@@ -393,8 +389,6 @@ The above code does the following:
393389

394390
To use Workers AI, you will need to add the Workers AI binding to the `wrangler.toml` file. The `wrangler.toml` file should contain the following code:
395391

396-
397-
398392
<WranglerConfig>
399393

400394
```toml title="wrangler.toml"

src/content/docs/workers/static-assets/binding.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ You are migrating from a Pages project where the assets directory is `dist`.
5252
You do not want to upload the server-side Worker code nor Pages configuration files as public client-side assets.
5353
Add the following `.assetsignore` file:
5454

55-
```gitignore
55+
```txt
5656
_worker.js
5757
_redirects
5858
_headers

0 commit comments

Comments
 (0)