MacDownApp / MacDownApp/macdown

syntax/block highlighted issue

Open
#682 4 comments 1 reaction 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

Macdown is pretty awesome, but I found the code block parsing is not as convenient as other editors do (github wiki page, typora.)

  1. Everytime you want to write a code block, you have to make sure that there is a newline right above it.
    image

    Otherwise the parsing won't work.
    image

    which I think that this setting is not aligned with how github/typora do. So in order to use Macdown, I have to insert a newline right above every code block I write...

  2. Github and typora accept "C" (capital letter) as parsing c block, while macdown doesn't.. which is also not aligned with other editors as well..

Just a few comment! And thanks for building up such nice tool.

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 both reported cases in MacDown: a code block following text without a blank line, and an uppercase C language tag. Compare the rendered output with the expected GitHub and Typora behavior; done means both forms parse and highlight consistently, with regression coverage added in the relevant parser tests.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.