Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

help: Fix broken spoiler example.

Alex Vandiver8bf5aa04d68d
diff --git a/starlight_help/src/content/docs/spoilers.mdx b/starlight_help/src/content/docs/spoilers.mdx
index 17f6825301d..2f7426ae5a9 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";
<StartComposing />
1. To create a spoiler section, use triple backticks and the word spoiler
- (\`\`\`\`spoiler\`) followed by an optional spoiler heading, some text, and triple
+ (<code>```spoiler</code>) followed by an optional spoiler heading, some text, and triple
backticks at the end:
+
+ ````
```spoiler The spoiler heading
This content is initially hidden.
```
+ ````
</FlattenedSteps>
<ZulipTip>