Templated rendering of markdown