markdown and templates support