mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 17:46:05 -05:00
Update README.md for poll plugin
This commit is contained in:
parent
8cdf25532c
commit
b694b19299
1 changed files with 25 additions and 15 deletions
|
@ -5,20 +5,30 @@ Allows you to add a poll to the first post of a topic.
|
||||||
# Usage
|
# Usage
|
||||||
|
|
||||||
1. Make your topic title start with "Poll: "
|
1. Make your topic title start with "Poll: "
|
||||||
2. Include a list in your post. The **first list** will be used.
|
2. Include a list in your post (the **first list** will be used)
|
||||||
* If you don't want it to be the first list, do this:
|
|
||||||
|
|
||||||
```
|
## Closing the poll
|
||||||
Intro Text
|
|
||||||
|
|
||||||
- Some list
|
|
||||||
- Some list con't
|
|
||||||
|
|
||||||
Here are your choices:
|
|
||||||
|
|
||||||
[poll]
|
|
||||||
- Option 1
|
|
||||||
- Option 2
|
|
||||||
[/poll]
|
|
||||||
```
|
|
||||||
|
|
||||||
|
Change the start of the topic title from "Poll: " to "Closed Poll: "
|
||||||
|
|
||||||
|
_Note: closing a topic will also close the poll._
|
||||||
|
|
||||||
|
## Specifying the list to be used for the poll
|
||||||
|
|
||||||
|
If you have multiple lists in your post and the first list is _not_
|
||||||
|
the one you want to use for the poll, you can identify the
|
||||||
|
list to be used like this:
|
||||||
|
|
||||||
|
```
|
||||||
|
Intro Text
|
||||||
|
|
||||||
|
- Item one
|
||||||
|
- Item two
|
||||||
|
|
||||||
|
Here are your choices:
|
||||||
|
|
||||||
|
[poll]
|
||||||
|
- Option 1
|
||||||
|
- Option 2
|
||||||
|
[/poll]
|
||||||
|
```
|
||||||
|
|
Loading…
Reference in a new issue