mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
help: Add polls section to "Message formating" article.
Creates an intro and an examples md file for the shared content on the "Message formatting" article and "Polls" article.
This commit is contained in:
committed by
Tim Abbott
parent
2bb3ceaba8
commit
c654d03d14
@@ -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
|
||||
|
||||

|
||||
{!polls-examples.md!}
|
||||
|
||||
## Related articles
|
||||
|
||||
|
@@ -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!}
|
||||
|
12
help/include/polls-examples.md
Normal file
12
help/include/polls-examples.md
Normal file
@@ -0,0 +1,12 @@
|
||||
### What you type
|
||||
|
||||
```
|
||||
/poll What did you drink this morning?
|
||||
Milk
|
||||
Tea
|
||||
Coffee
|
||||
```
|
||||
|
||||
### What it looks like
|
||||
|
||||

|
3
help/include/polls-intro.md
Normal file
3
help/include/polls-intro.md
Normal file
@@ -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.
|
Reference in New Issue
Block a user