diff --git a/starlight_help/src/content/docs/spoilers.mdx b/starlight_help/src/content/docs/spoilers.mdx
index 17f6825301..2f7426ae5a 100644
--- a/starlight_help/src/content/docs/spoilers.mdx
+++ b/starlight_help/src/content/docs/spoilers.mdx
@@ -40,11 +40,14 @@ import SpoilerIcon from "~icons/zulip-icon/spoiler";
1. To create a spoiler section, use triple backticks and the word spoiler
- (\`\`\`\`spoiler\`) followed by an optional spoiler heading, some text, and triple
+ (```spoiler
) followed by an optional spoiler heading, some text, and triple
backticks at the end:
+
+ ````
```spoiler The spoiler heading
This content is initially hidden.
```
+ ````