MacDownApp / MacDownApp/macdown
anchors
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
In Mou I could introduce anchors like this:
[Example 1.](id:example-2.1.1)
which in html resulted in an anchor
<span id="example-2.1.1">Example 1.</span>
but in Macdown it results in the "link to nowhere"
<a href="id:example-2.1.1">Example 1.</a>
I know the "way around": inserting html tags
<a name="example-2.1.1">Example 1.</a> or <span id="example-2.1.1">Example 1.</span>
but this is what we are trying to avoid
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 file or test is named. Start by tracing how Markdown links using the id: scheme are converted to HTML, then compare the output with the documented Mou behavior. Done means Example 1. produces an anchor with the requested id instead of a link to nowhere.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- markdown
- Domain
- documentation
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100