remove links in macro refs in md