Fixes table of contents links by adding the .md extension