Added exclusion code for rst, markdown, and html.