markup
markup copied to clipboard
Markdown relative links broken when they occur inside a markdown table.
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). |
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!
There are may link-related open issues. I wonder why this has not been addressed yet.