MacDownApp / MacDownApp/macdown

Code formatting not respecting indentation

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

Description

I have the following Markdown code:

```
{
"name": "",
"description": ""
"entries": [{

}]
]
```
This formats correctly in GitHub issue tracker, but not in Macdown. The attached image illustrates the behaviour

![screen shot 2017-12-04 at 17 17 59](https://user-images.githubusercontent.com/682269/33579249-21d4a21a-d917-11e7-92b2-38ea5e0a9850.png)

MacDown 0.7.1, macOS 10.13.1

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue in MacDown 0.7.1 on macOS 10.13.1 using the indented fenced Markdown example from the report, and compare its rendering with GitHub's. Trace the Markdown code-formatting path from that reproduction; done means the indentation and nested content render as expected.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos, markdown
Domain
content, desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.