Skip to main content
added 2 characters in body; edited title
Source Link
Peter Mortensen
  • 31.6k
  • 4
  • 22
  • 14

markdown Markdown relative anchor links do not work

I'd like to add some brief links like this:

link text (i.e. [link text](#anchor))

soSo that they are converted to this:

<a href="#anchor">link text</a>

But so far I've noticed that it's impossible in comments.

For example, if I'd like to add a comment like this:

Please compare your answer to [this answer posted earlier by Jon](#125135235),
they are almost identical.

or

Per your comment, I've added my answer [here](#543543534).

how can I do this without absolute links?

markdown relative anchor links do not work

I'd like to add some brief links like this:

link text (i.e. [link text](#anchor))

so that they are converted to this:

<a href="#anchor">link text</a>

But so far I've noticed that it's impossible in comments.

For example, if I'd like to add a comment like this:

Please compare your answer to [this answer posted earlier by Jon](#125135235),
they are almost identical.

or

Per your comment, I've added my answer [here](#543543534).

how can I do this without absolute links?

Markdown relative anchor links do not work

I'd like to add some brief links like this:

link text (i.e. [link text](#anchor))

So that they are converted to this:

<a href="#anchor">link text</a>

But so far I've noticed that it's impossible in comments.

For example, if I'd like to add a comment like this:

Please compare your answer to [this answer posted earlier by Jon](#125135235),
they are almost identical.

or

Per your comment, I've added my answer [here](#543543534).

how can I do this without absolute links?

Source Link
mbdevpl
  • 4.8k
  • 1
  • 10
  • 13

markdown relative anchor links do not work

I'd like to add some brief links like this:

link text (i.e. [link text](#anchor))

so that they are converted to this:

<a href="#anchor">link text</a>

But so far I've noticed that it's impossible in comments.

For example, if I'd like to add a comment like this:

Please compare your answer to [this answer posted earlier by Jon](#125135235),
they are almost identical.

or

Per your comment, I've added my answer [here](#543543534).

how can I do this without absolute links?