fix twig and markdown extension