updated to include tidy xml and markdown > html