Handling Exclude Flag in HTML, Markdown, and rST

I've added some code to allow the exclude option to work on the html, markdown, and rst formats.