nextcloud / nextcloud/polls

Allow Markdown formatting for options

Open
#3,873 0 comments 2 reactions 0 assignees View on GitHub

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: ⚠️
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:

Image

To make things better readable, it would be great if a portion of the option's description could be formatted bold, like this (mockup):

Image

Being able to add line breaks to the individual descriptions would add even more flexibility.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.