When a mardown readme file contains internal links to files or directories reachable from the directory the readme file is located
href values of those links in HTML generated by the showdown.js library are invalid and lead to 404 errors.
See for instance the links to internal files in the readme of this origin or the links to internal directories in the readme of this origin.
Those invalid links should be fixed by parsing the generated HTML and modifying them to valid URLs.