You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/instructions/markdown.instructions.md
+21-1Lines changed: 21 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
---
2
-
applyTo: "**/*.md"
2
+
applyTo: "**/*.{md,mdx}"
3
3
---
4
4
5
5
# Markdown Linting Instructions
@@ -24,6 +24,26 @@ applyTo: "**/*.md"
24
24
- Ordered lists should use consistent numbering (`MD029`). Either use sequential numbering (1, 2, 3) or all ones (1, 1, 1). Do not mix styles (e.g., 1, 2, 3, 4 is correct; 1, 2, 3, 4 where one item is numbered 2 when it should be 3 is incorrect).
25
25
- No trailing spaces on lines (`MD009`), except when intentionally using two trailing spaces for a line break.
26
26
27
+
## MDX And Inline Code Safety
28
+
29
+
- When you mean the less-than operator (e.g. `a < b`), do not write a raw `<` in prose.
30
+
- Prefer `<` (and `>` when needed), or wrap the expression in backticks.
31
+
- Always wrap code-y snippets in backticks so the Markdown/MDX parser doesn’t treat them as HTML/JSX.
Copy file name to clipboardExpand all lines: src/content/articles/cdn-edge-caching-cache-keys-vary-headers/index.mdx
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -231,7 +231,7 @@ Each unique combination = separate cache entry
231
231
232
232
```mermaid
233
233
graph TD
234
-
A[/products] --> B{Vary: Accept-Language}
234
+
A["/products"] --> B{Vary: Accept-Language}
235
235
B -->|en-US| C[English Response]
236
236
B -->|es-ES| D[Spanish Response]
237
237
B -->|fr-FR| E[French Response]
@@ -279,7 +279,7 @@ caching:
279
279
Code: Vary header configuration with normalization.
280
280
281
281
<Callout type="danger">
282
-
`Vary: *` means "this response is unique to every request"—it effectively disables caching. Never use `Vary: *` unless you truly intend to make the response uncacheable.
282
+
`Vary: *` means "this response is unique to every request"—it effectively disables caching. Never use `Vary: *` unless you truly intend to make the response noncacheable.
0 commit comments