Skip to content

Commit ba9ee72

Browse files
committed
Fixing more backticks
1 parent 27e21c9 commit ba9ee72

File tree

9 files changed

+24
-24
lines changed

9 files changed

+24
-24
lines changed

src/content/changelog/workers/2025-01-28-nodejs-compat-improvements.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export default {
3838
return new Response("Wrote to server", { status: 200 });
3939
},
4040
} satisfies ExportedHandler;
41-
````
41+
```
4242
</TypeScriptExample>
4343

4444
Additionally, you can now use other APIs including [`net.BlockList`](https://nodejs.org/api/net.html#class-netblocklist) and
@@ -55,8 +55,8 @@ You can use [`node:dns`](https://nodejs.org/api/dns.html) for name resolution vi
5555
```ts
5656
import dns from 'node:dns';
5757

58-
let responese = await dns.promises.resolve4('cloudflare.com', 'NS');
59-
````
58+
let response = await dns.promises.resolve4('cloudflare.com', 'NS');
59+
```
6060

6161
</TypeScriptExample>
6262

src/content/docs/ai-gateway/integrations/aig-workers-ai-binding.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ npx wrangler dev
113113

114114
You will be prompted to log in after you run `wrangler dev`. When you run `npx wrangler dev`, Wrangler will give you a URL (most likely `localhost:8787`) to review your Worker. After you go to the URL Wrangler provides, you will see a message that resembles the following example:
115115

116-
````json
116+
```json
117117
{
118118
"response": "A fascinating question!\n\nThe phrase \"Hello, World!\" originates from a simple computer program written in the early days of programming. It is often attributed to Brian Kernighan, a Canadian computer scientist and a pioneer in the field of computer programming.\n\nIn the early 1970s, Kernighan, along with his colleague Dennis Ritchie, were working on the C programming language. They wanted to create a simple program that would output a message to the screen to demonstrate the basic structure of a program. They chose the phrase \"Hello, World!\" because it was a simple and recognizable message that would illustrate how a program could print text to the screen.\n\nThe exact code was written in the 5th edition of Kernighan and Ritchie's book \"The C Programming Language,\" published in 1988. The code, literally known as \"Hello, World!\" is as follows:\n\n```
119119
main()
@@ -122,7 +122,7 @@ main()
122122
}
123123
```\n\nThis code is still often used as a starting point for learning programming languages, as it demonstrates how to output a simple message to the console.\n\nThe phrase \"Hello, World!\" has since become a catch-all phrase to indicate the start of a new program or a small test program, and is widely used in computer science and programming education.\n\nSincerely, I'm glad I could help clarify the origin of this iconic phrase for you!"
124124
}
125-
````
125+
```
126126

127127
## 5. Deploy your AI Worker
128128

src/content/docs/durable-objects/api/container.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export class MyDurableObject extends DurableObject {
3939

4040
}
4141

42-
````
42+
```
4343
</TypeScriptExample>
4444

4545

@@ -51,7 +51,7 @@ export class MyDurableObject extends DurableObject {
5151

5252
```js
5353
this.ctx.container.running;
54-
````
54+
```
5555

5656
## Methods
5757

src/content/docs/learning-paths/mtls/mtls-workers/index.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export default {
4444
}
4545
}
4646

47-
````
47+
```
4848

4949
</TabItem>
5050
<TabItem label="Service Worker" icon="seti:javascript">
@@ -79,7 +79,7 @@ addEventListener('fetch', event => {
7979
})(event.request)
8080
);
8181
});
82-
````
82+
```
8383

8484
</TabItem>
8585
</Tabs>

src/content/docs/workers-ai/guides/tutorials/explore-code-generation-using-deepseek-coder-models.mdx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ else:
9191

9292
A common use case is to complete the code for the user after they provide a descriptive comment.
9393

94-
````python
94+
```python
9595
model = "@hf/thebloke/deepseek-coder-6.7b-base-awq"
9696

9797
prompt = "# A function that checks if a given word is a palindrome"
@@ -112,7 +112,7 @@ display(Markdown(f"""
112112
{code.strip()}
113113
```
114114
"""))
115-
````
115+
```
116116

117117
```python
118118
# A function that checks if a given word is a palindrome
@@ -240,7 +240,7 @@ A common use case in Developer Tools is to autocomplete based on context. DeepSe
240240

241241
Warning: The tokens are prefixed with `<|` and suffixed with `|>` make sure to copy and paste them.
242242

243-
````python
243+
```python
244244
model = "@hf/thebloke/deepseek-coder-6.7b-base-awq"
245245

246246
code = """
@@ -270,7 +270,7 @@ display(Markdown(f"""
270270
```
271271
"""))
272272

273-
````
273+
```
274274

275275
```python
276276
is_valid_email = re.match(r"[^@]+@[^@]+\.[^@]+", email_address)
@@ -280,7 +280,7 @@ is_valid_email = re.match(r"[^@]+@[^@]+\.[^@]+", email_address)
280280

281281
No need to threaten the model or bring grandma into the prompt. Get back JSON in the format you want.
282282

283-
````python
283+
```python
284284
model = "@hf/thebloke/deepseek-coder-6.7b-instruct-awq"
285285

286286
# Learn more at https://json-schema.org/
@@ -342,7 +342,7 @@ display(Markdown(f"""
342342
{response.strip()}
343343
```
344344
"""))
345-
````
345+
```
346346

347347
```json
348348
{

src/content/docs/workers/development-testing/index.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ To verify that the certificate exchange and validation process work as expected.
247247

248248
}
249249

250-
````
250+
```
251251
</WranglerConfig>
252252

253253
#### [Images](/workers/wrangler/configuration/#images):
@@ -262,7 +262,7 @@ To connect to a high-fidelity version of the Images API, and verify that all tra
262262
"experimental_remote": true
263263
}
264264
}
265-
````
265+
```
266266

267267
</WranglerConfig>
268268

src/content/docs/workers/examples/security-headers.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,6 +347,6 @@ app.all('*', async (c) => {
347347
});
348348

349349
export default app;
350-
````
350+
```
351351

352352
</TabItem> </Tabs>

src/content/partials/images/background.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ OR
1919

2020
background=rgb%28240%2C40%2C145%29
2121

22-
````
22+
```
2323
</TabItem>
2424
<TabItem label="Workers">
2525
```js
@@ -28,7 +28,7 @@ cf: {image: {background: "#RRGGBB"}}
2828
OR
2929

3030
cf:{image: {background: "rgba(240,40,145,0)"}}
31-
````
31+
```
3232

3333
</TabItem>
3434
</Tabs>

src/content/partials/images/quality.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ We also allow setting one of the perceptual quality levels `high|medium-high|med
1212
<TabItem label="URL format">
1313
```js
1414
quality=50
15-
15+
1616
OR
17-
17+
1818
quality=low
1919
```
2020
</TabItem>
@@ -26,7 +26,7 @@ OR
2626

2727
q=medium-high
2828

29-
````
29+
```
3030
</TabItem>
3131
<TabItem label="Workers">
3232
```js
@@ -35,7 +35,7 @@ cf: {image: {quality: 50}}
3535
OR
3636

3737
cf: {image: {quality: "high"}}
38-
````
38+
```
3939

4040
</TabItem>
4141
</Tabs>

0 commit comments

Comments
 (0)