Markdown inline links redirect to nowhere or to repl cover image

Problem description:
Markdown file doesn’t follow inline links set up in the file.

Given a reference to a header like:

1 follow the link

and something at the top of the readme like a table of contents containing:
1 follow the link the link does not behave properly.

Expected behavior:

Actual behavior:

Screen Recording 2023-04-10

Steps to reproduce:

Create a readme file with some inline links.

Bug appears at this link:


MAC M2 Max Chrome Version 111.0.5563.146 (Official Build) (arm64)