validate markup choice, use separate templates for each markup
correct markdown and textile templates