MacDownApp / MacDownApp/macdown
Underscore in links not shown
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
Hy there. I have a link that is not properly displayed in Macdown:
Expected: ble_simple_peripheral.py
Actual: blesimpleperipheral.py
This is my code but the underscores aren't shown in the Preview pane.
Start with [ble_simple_peripheral.py](https://github.com/xyz.py)
Update
The problem occurs with all rendering themes. However, when changing the theme I could see that simple was actually underlined. So it seems that somehow the underscores are part of the link.
So I now understand what happened. The underscores got changed into an underline-formatting. I guess this can be seen as expected behaviour.
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
No source file or test is named in the issue. Reproduce the Markdown example in MacDown's Preview pane, then trace the rendering path for underscore handling; done means the link text preserves the underscores without unintended emphasis, or the behavior is documented as expected.
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
- Needs clarification
- Newbie friendliness
- 30/100