MacDownApp / MacDownApp/macdown
code block rendering bug for square bracket
Open
- Dominant language
- Rich Text Format
- Stars
- 9.8k
- Forks
- 1.2k
- PR merge metrics
- No merged PRs in 30d
Description
Code block with triple backticks is rendering bad:
```ts
interface MyObject {
[key: string]: string;
}
```
Contributor guide
Research direction
No source file or test is named. Reproduce the issue in MacDown using the TypeScript interface inside a triple-backtick code block, then trace the Markdown rendering entry point. Done means square-bracket index signatures render as code without malformed output.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- markdown
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100