markup
markup copied to clipboard
Relative links are broken in blockquotes with admonitions
Description
In a repo's main page, blockquotes that use admonitions break relative links:
> [!NOTE]
> [Link](./other-file.md)
Note that the links are not broken on the file visualisation page.
Example
✅ Working:
- https://github.com/danroc/tmp-admonitions-bug/blob/main/README.md
- The link points to: https://github.com/danroc/tmp-admonitions-bug/blob/main/other-file.md
❌ Not working:
I have the same problem: https://github.com/open-spaced-repetition/fsrs4anki?tab=readme-ov-file#how-to-get-started
[this tutorial](doc/tutorial.md) is redirected to https://github.com/open-spaced-repetition/docs/tutorial.md. The expected result is https://github.com/open-spaced-repetition/fsrs4anki/docs/tutorial.md.
It seems that at some point this bug got fixed, this issue is no longer relevant.