I have a model which defines a property with either markdown or html content.
I am wondering whether using a markdown JS library to output the info or use handlebars to generate the html output inside the view.
Any recommendations, examples will be appreciated.
Using a Markdown converter worked for me.
Here is my view code:
Here is the template code (note the triple handlebars {{{}}} for raw html):
Here is a link to more details and the showdown.js script