(feature)-adding handlebars function toMarkdown for processing markdown in client