MacDownApp / MacDownApp/macdown

md parser breaks with hidden characters

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

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

I had some hidden characters when I copy/pasted stuff into the editor that ended up breaking the real time md parser in the Editor pane. Some sort of indication of a parse failure would be helpful to indicate where the problem is so that people can fix it.

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

Begin in the Editor pane's real-time Markdown parser and reproduce the failure with copied text containing hidden characters. Done means a parse failure is visibly indicated with enough location information for the user to fix it; no file or test is named in the issue, so the relevant parser and editor tests will need to be located.

Written by the indexing model from the issue text.

Assessment

Tech stack
markdown, objective-c
Domain
content, desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.