MacDownApp / MacDownApp/macdown

Handle block quote like list item in editor

Open
#811 13 comments 0 reactions 0 assignees View on GitHub
enhancement help wanted
Dominant language
Rich Text Format
Stars
9.8k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

In the editor, if you are editing a list item and you git return, you get a new line that starts with a list item marker. Hit return again without typing further on the live and you get another new line and the item markers disappear.

I like this.

In contrast, if you're in a block quote, new lines will all have the indicator at their starts (`>`), no matter that the line had nothing in it.

I don't like this and suggest modifying the behavior of the editor in block quotes to match that in lists.

Contributor guide

Open the contributing guide

Research direction

No source file or test is named in the issue. Start by locating the editor logic that continues list-item and block-quote markers after Return, then compare both behaviors. Done means a second Return on an empty block-quote line removes the quote marker as it does for list items.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos, markdown, objective-c
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.