mirror of
https://github.com/zulip/zulip.git
synced 2025-11-01 12:33:40 +00:00
The conversion script for help-beta assumes that all items in a numbered list start with 1. which was a wrong assumption. This commit attempts to fix that. We are not introducing any lint step to tackle this since it will be easy to just check for this again before the cutover happens. We do not change this for `numbered-list-examples.md` since that example shows how the current numbered lists work and we might still want to show that. We can decide what to do with that file once the time of cutover arrives.
99 lines
2.2 KiB
Markdown
99 lines
2.2 KiB
Markdown
# Polls
|
|
|
|
{!polls-intro.md!}
|
|
|
|
## Create a poll
|
|
|
|
{start_tabs}
|
|
|
|
{tab|via-compose-box-buttons}
|
|
|
|
{!start-composing.md!}
|
|
|
|
1. Make sure the compose box is empty.
|
|
|
|
1. Click the **Add poll** (<i class="zulip-icon zulip-icon-poll"></i>) icon at
|
|
the bottom of the compose box.
|
|
|
|
1. Fill out poll information as desired, and click **Add poll** to insert poll
|
|
formatting.
|
|
|
|
1. Click the **Send** (<i class="zulip-icon zulip-icon-send"></i>) button, or
|
|
use a [keyboard shortcut](/help/configure-send-message-keys) to send your
|
|
message.
|
|
|
|
!!! tip ""
|
|
|
|
To reorder the list of options, click and drag the **vertical dots**
|
|
(<i class="zulip-icon zulip-icon-grip-vertical"></i>) to the left of each
|
|
option. To delete an option, click the **delete**
|
|
(<i class="zulip-icon zulip-icon-trash"></i>) icon to the right of it.
|
|
|
|
{tab|via-markdown}
|
|
|
|
{!start-composing.md!}
|
|
|
|
1. Make sure the compose box is empty.
|
|
|
|
1. Type `/poll` followed by a space, and the question you want to ask.
|
|
|
|
1. _(optional)_ Type each option on a new line.
|
|
|
|
1. Click the **Send** (<i class="zulip-icon zulip-icon-send"></i>) button, or
|
|
use a [keyboard shortcut](/help/configure-send-message-keys) to send your
|
|
message.
|
|
|
|
!!! tip ""
|
|
|
|
You will be able to add options after the poll is created.
|
|
|
|
{end_tabs}
|
|
|
|
## Add options to a poll
|
|
|
|
!!! warn ""
|
|
|
|
To preserve the meaning of votes in the poll, existing poll options cannot
|
|
be modified.
|
|
|
|
{start_tabs}
|
|
|
|
1. Fill out the **New option** field at the bottom of the poll.
|
|
|
|
1. Click **Add option** or press <kbd>Enter</kbd> to add the new option to
|
|
the poll.
|
|
|
|
{end_tabs}
|
|
|
|
## Edit the question
|
|
|
|
!!! warn ""
|
|
|
|
Only the creator of a poll can edit the question.
|
|
|
|
{start_tabs}
|
|
|
|
1. Click the **pencil** (<i class="fa fa-pencil"></i>) icon
|
|
to the right of the question.
|
|
|
|
1. Edit the question as desired.
|
|
|
|
1. Click the **checkmark** (<i class="fa fa-check"></i>) icon or press
|
|
<kbd>Enter</kbd> to save your changes.
|
|
|
|
!!! tip ""
|
|
|
|
You can click the <i class="fa fa-remove"></i> icon or press
|
|
<kbd>Esc</kbd> to discard your changes.
|
|
|
|
{end_tabs}
|
|
|
|
## Examples
|
|
|
|
{!polls-examples.md!}
|
|
|
|
## Related articles
|
|
|
|
* [Message formatting](/help/format-your-message-using-markdown)
|
|
* [Collaborative to-do lists](/help/collaborative-to-do-lists)
|