MacDownApp / MacDownApp/macdown
syntax/block highlighted issue
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
Macdown is pretty awesome, but I found the code block parsing is not as convenient as other editors do (github wiki page, typora.)
-
Everytime you want to write a code block, you have to make sure that there is a newline right above it.

Otherwise the parsing won't work.

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...
-
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
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
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