anchor links were causing issues with mdwiki so remove and replace contents references to generated anchor links.