added markdown templating