MacDownApp / MacDownApp/macdown

Spacing is inconsistent in bullet points

Open
#703 6 comments 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

**Raw Text**
```
- Males
- (150 males, 0 females)
- Aged 18 - 24 years
- (150 in this age group, 0 in other age groups)
- Recent Beer Consumers (P30D)
- (150 beer drinkers)
- Recent Beer Consumers (P30D)
- (150 beer drinkers)
- Recent Beer Consumers (P30D)
- (150 beer drinkers)
```

Screenshot 1:
screen shot 2016-11-25 at 10 38 53 am

Screenshot 2:

screen shot 2016-11-25 at 10 38 48 am

We can see in the second screenshot that the text for the last two entries is the same, but the preview is not.

EDIT:

The problem only occurs before another numbered or bulleted list.

screen shot 2016-11-25 at 10 44 20 am
screen shot 2016-11-25 at 10 44 12 am

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

Reproduce the raw Markdown example from the issue in MacDown's preview, especially when the list is followed by another numbered or bulleted list. Compare the rendered spacing in the supplied screenshots and trace the preview's Markdown rendering entry point. Done means equivalent bullet items render with consistent spacing in both cases.

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
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.