adding markdown extension structure to twig