Allow Markdown formatting for options
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 284
- Forks
- 91
- Avg merge
- 4d 3h
- Merged PRs (30d)
- 50
Description
⚠️ This issue respects the following points: ⚠️
- I agree to follow Nextcloud's Code of Conduct.
Describe the goal you'd like to achieve
As a poll owner, I want to be able to format the description of options in Markdown syntax, because it improves readability for poll participants.
Describe possible solutions
Similar to the description of the poll itself, which already accepts Markdown syntax, the same could be applied to the description of the individual options.
In addition, being able to add line breaks e.g. by inserting a \n would be super helpful, too.
Additional context
Let's consider a text poll with various options like this one:
To make things better readable, it would be great if a portion of the option's description could be formatted bold, like this (mockup):
Being able to add line breaks to the individual descriptions would add even more flexibility.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no files or tests. Start by locating the existing Markdown handling for poll descriptions and the rendering entry point for individual option descriptions; compare their behavior, including line breaks. Done means option descriptions support the requested Markdown formatting and line breaks in the participant view.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100