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: Add polls section to "Message formating" article.

Lauryn Menardc654d03d14ab
diff --git a/help/create-a-poll.md b/help/create-a-poll.md
index 6c92c31cace..78d4c495ca5 100644
--- a/help/create-a-poll.md
+++ b/help/create-a-poll.md
@@ -1,8 +1,6 @@
# Polls
-Zulip makes it easy to create a poll. Polls in Zulip are collaborative, so
-anyone can add new options to a poll. However, only the creator of the poll can
-edit the question.
+{!polls-intro.md!}
## Create a poll
@@ -92,18 +90,7 @@ edit the question.
## Examples
-### What you type
-
-```
-/poll What did you drink this morning?
-Milk
-Tea
-Coffee
-```
-
-### What it looks like
-
-![Markdown polls](/static/images/help/markdown-polls.png)
+{!polls-examples.md!}
## Related articles
diff --git a/help/format-your-message-using-markdown.md b/help/format-your-message-using-markdown.md
index 4102e7a494b..b52bf57a6df 100644
--- a/help/format-your-message-using-markdown.md
+++ b/help/format-your-message-using-markdown.md
@@ -28,6 +28,7 @@ below.
* [/me action messages](#me-action-messages)
* [Global times](#global-times)
* [Tables](#tables)
+* [Polls](#polls)
* [Collaborative to-do lists](#collaborative-to-do-lists)
* [Paragraph and section formatting](#paragraph-and-section-formatting)
@@ -168,6 +169,18 @@ below.
{!tables-examples.md!}
+## Polls
+
+{!polls-intro.md!}
+
+{!polls-examples.md!}
+
+!!! tip ""
+
+ You can also use the **Add poll** (<i class="zulip-icon
+ zulip-icon-poll"></i>) button in the compose box to create a
+ poll. [Learn more](/help/create-a-poll).
+
## Collaborative to-do lists
{!to-do-lists-intro.md!}
diff --git a/help/include/polls-examples.md b/help/include/polls-examples.md
new file mode 100644
index 00000000000..c8e55830e2e
--- /dev/null
+++ b/help/include/polls-examples.md
@@ -0,0 +1,12 @@
+### What you type
+
+```
+/poll What did you drink this morning?
+Milk
+Tea
+Coffee
+```
+
+### What it looks like
+
+![Markdown polls](/static/images/help/markdown-polls.png)
diff --git a/help/include/polls-intro.md b/help/include/polls-intro.md
new file mode 100644
index 00000000000..13dcc1474a9
--- /dev/null
+++ b/help/include/polls-intro.md
@@ -0,0 +1,3 @@
+Zulip makes it easy to create a poll. Polls in Zulip are collaborative, so
+anyone can add new options to a poll. However, only the creator of the poll can
+edit the question.