Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
lululeon opened this issue Feb 2, 2024 · 9 comments
Open
Labels

Comments

@lululeon
Copy link

lululeon commented Feb 2, 2024

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). |
@normanius
Copy link

normanius commented Mar 13, 2024

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
Copy link

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

@AtmoFX
Copy link

AtmoFX commented May 20, 2024

@normanius : It also affects normal paragraphs, unfortunately. On my Readme page, I ended up with a mix of the first few relative links working, then broken links (obviously all as normal paragraphs).
I had to change everything as absolute paths...

Copy link

Stale issue message

@ReenigneArcher
Copy link

bump

Copy link

Stale issue message

@ReenigneArcher
Copy link

bump

Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the Stale label Nov 19, 2024
@AtmoFX
Copy link

AtmoFX commented Nov 19, 2024

Still not...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants