MacDownApp / MacDownApp/macdown

anchors

Open
#686 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement upstream
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.