MacDownApp / MacDownApp/macdown
Render newline option not working in lists
Nobody has claimed this yet.
- 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
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
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