MacDownApp / MacDownApp/macdown

Render newline option not working in lists

Open
#1,082 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

upstream
Dominant language
Rich Text Format
Stars
9.8k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

Hi,
I have the option enabled to render newline literally. However, in lists, new lines that should be subsumed under the same bullet point do not render as new line automatically, but do so only when two spaces are added to the end of the line. Would be great to have that fixed, thank you!

Best, Andreas

Not working (no line break):
````
* Line 1
That's line 2 under the same bullet point
````

Working (line break rendered):
````
* Line 1 with two spaces at the end
That's line 2 under the same bullet point
````

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

Start by reproducing the Markdown list case with the literal-newline option enabled, comparing the examples with and without trailing spaces. Done means a newline within the same bullet renders automatically without requiring two trailing spaces; no file or test path is named in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
markdown
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.