Skip to content

Commit 8375a4d

Browse files
committed
Update formatting
1 parent 70a592b commit 8375a4d

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/content/docs/rules/snippets/index.mdx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ head:
1111
content: Cloudflare Snippets (beta)
1212
---
1313

14-
import { FeatureTable, GlossaryTooltip, Render } from "~/components";
14+
import { FeatureTable, GlossaryTooltip, Render, Card } from "~/components";
1515

1616
Cloudflare Snippets (beta) provide a powerful and flexible way to customize the behavior of your website or application using short pieces of JavaScript code. With Snippets, you can modify HTTP response headers, implement <GlossaryTooltip term="JSON web token (JWT)" prepend="JSON web token (JWT) is ">JWT</GlossaryTooltip> validation, perform complex <GlossaryTooltip term="redirect">redirects</GlossaryTooltip>, and much more.
1717

@@ -57,9 +57,12 @@ Cloudflare Snippets are designed for fast, lightweight edge logic. The following
5757
| Maximum memory | 2 MB |
5858
| Maximum total package size | 32 KB |
5959

60-
🔍 **Need guidance on choosing between Snippets and Workers?**
60+
<Card title="Need guidance on choosing between Snippets and Workers?" icon="magnifier">
61+
6162
Explore our [detailed guide](/rules/snippets/when-to-use/) for best practices, real-world use cases, and example implementations.
6263

64+
</Card>
65+
6366
## Execution order
6467

6568
<Render file="product-execution-order" />

0 commit comments

Comments
 (0)