added markdown support for twig templates