markup icon indicating copy to clipboard operation
markup copied to clipboard

Markdown relative links broken when they occur inside a markdown table.

Open lululeon opened this issue 1 year ago • 7 comments

Links to a resource at:

https://github.com/username/reponame/blob/main/docs/foo.md

are rendered as variants of

https://github.com/username/reponame/tree/docs/foo.md
https://github.com/username/docs/foo.md

when written in markdown inside a markdown table as either of:

[my link](./docs/foo.md)
[my link](docs/foo.md)

Example:

| blah1 | blah2|
|--------|-------|
| foobar | look at [my link](./docs/foo.md). |
| foobar | or even [my link](docs/foo.md). |

lululeon avatar Feb 02 '24 08:02 lululeon

See this discussion here. The behavior was described as a bug for markdown blocks that are not normal paragraph. I hope this will be fixed soon. Relative paths are so useful!

normanius avatar Mar 13 '24 23:03 normanius

There are may link-related open issues. I wonder why this has not been addressed yet.

normanius avatar Mar 13 '24 23:03 normanius