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 misformatted MDX.

Anders Kaseorg2e805be1d835
diff --git a/starlight_help/src/content/docs/bots-overview.mdx b/starlight_help/src/content/docs/bots-overview.mdx
index 360b1e7b351..5979268a146 100644
--- a/starlight_help/src/content/docs/bots-overview.mdx
+++ b/starlight_help/src/content/docs/bots-overview.mdx
@@ -36,11 +36,11 @@ Each bot has a **name**, **profile picture**, **email**, **bot type** and **API
The **bot type** determines what the bot can do.
-Bot type | Permissions | Common uses
----|---|---
-Generic | Like a normal user account | Automating tasks, bots that listen to all messages on a channel
-Incoming webhook | Limited to only sending messages into Zulip | Automated notifications into Zulip
-Outgoing webhook | Generic bot that also receives new messages via HTTP post requests | Third party integrations, most custom bots
+| Bot type | Permissions | Common uses |
+| ---------------- | ------------------------------------------------------------------ | --------------------------------------------------------------- |
+| Generic | Like a normal user account | Automating tasks, bots that listen to all messages on a channel |
+| Incoming webhook | Limited to only sending messages into Zulip | Automated notifications into Zulip |
+| Outgoing webhook | Generic bot that also receives new messages via HTTP post requests | Third party integrations, most custom bots |
It's generally best to pick the most restricted bot type that is sufficient
to do the task at hand. Anyone with the bot's API key can do anything the
diff --git a/starlight_help/src/content/docs/format-a-quote.mdx b/starlight_help/src/content/docs/format-a-quote.mdx
index 712547bdcf4..fdc69024397 100644
--- a/starlight_help/src/content/docs/format-a-quote.mdx
+++ b/starlight_help/src/content/docs/format-a-quote.mdx
@@ -38,13 +38,14 @@ import QuoteIcon from "~icons/zulip-icon/quote";
<StartComposing />
1. To create a multi-line quote, type `>` followed by a space and some text:
+
```
> a multi-line
quote on two lines
```
To create a multi-paragraph quote, use triple backticks and the word quote
- (<code>```quote</code>) followed by some text and triple backticks at the end:
+ (` ```quote `) followed by some text and triple backticks at the end:
````
```quote
diff --git a/starlight_help/src/content/docs/latex.mdx b/starlight_help/src/content/docs/latex.mdx
index e37b2ba9d15..758fe596a4b 100644
--- a/starlight_help/src/content/docs/latex.mdx
+++ b/starlight_help/src/content/docs/latex.mdx
@@ -20,11 +20,11 @@ import MathIcon from "~icons/zulip-icon/math";
Zulip's compose box has a smart **Math (LaTeX)** (<MathIcon />) button, which inserts contextually appropriate LaTeX
formatting:
-* If no text is selected, the button inserts displayed LaTeX (<code>```math</code>) formatting.
+* If no text is selected, the button inserts displayed LaTeX (` ```math `) formatting.
* If selected text is on one line, the button inserts inline LaTeX (`$$`)
formatting.
* If selected text is on multiple lines, the button inserts displayed LaTeX
- (<code>```math</code>) formatting.
+ (` ```math `) formatting.
<Tabs>
<TabItem label="Via compose box button">
@@ -47,12 +47,13 @@ formatting:
<StartComposing />
1. To use inline LaTeX, use double dollar signs (`$$`) around the text:
+
```
$$O(n^2)$$
```
To use displayed LaTeX, use triple backticks and the word math
- (<code>```math</code>) followed by some text and triple backticks at the end:
+ (` ```math `) followed by some text and triple backticks at the end:
````
```math
diff --git a/starlight_help/src/content/docs/schedule-a-reminder.mdx b/starlight_help/src/content/docs/schedule-a-reminder.mdx
index b6f1ebac36e..5af4e7e333a 100644
--- a/starlight_help/src/content/docs/schedule-a-reminder.mdx
+++ b/starlight_help/src/content/docs/schedule-a-reminder.mdx
@@ -28,6 +28,7 @@ conversation at a later time.
<TabItem label="Desktop/Web">
<FlattenedSteps>
<MessageActions />
+
1. Click on the **ellipsis** (<MoreVerticalIcon />).
1. Click **Remind me about this**.
1. *(optional)* Add a note for yourself. You can use Zulip's standard [Markdown
diff --git a/starlight_help/src/content/docs/spoilers.mdx b/starlight_help/src/content/docs/spoilers.mdx
index 2f7426ae5a9..9596e949feb 100644
--- a/starlight_help/src/content/docs/spoilers.mdx
+++ b/starlight_help/src/content/docs/spoilers.mdx
@@ -40,7 +40,7 @@ import SpoilerIcon from "~icons/zulip-icon/spoiler";
<StartComposing />
1. To create a spoiler section, use triple backticks and the word spoiler
- (<code>```spoiler</code>) 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:
````