Page MenuHomeSoftware Heritage

Fix internal links in mardown readme rendering to HTML
Closed, MigratedEdits Locked

Description

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.