updated template tag for markdown