Remove .md substrings.