diff --git a/src/js/HandlebarsTemplateEngine.js b/src/js/HandlebarsTemplateEngine.js index e2e95a43a..0ecc6a09f 100644 --- a/src/js/HandlebarsTemplateEngine.js +++ b/src/js/HandlebarsTemplateEngine.js @@ -255,6 +255,10 @@ }); + Handlebars.registerHelper("markdown", function(text) { + return SimpleMDE.prototype.markdown(text); + }); + //Handlebars.registerHelper("each", helpers["each"]); Handlebars.registerHelper("compare", helpers["compare"]); Handlebars.registerHelper("control", helpers["control"]); diff --git a/src/templates/web-display/control-markdown.html b/src/templates/web-display/control-markdown.html new file mode 100644 index 000000000..c2d1a6081 --- /dev/null +++ b/src/templates/web-display/control-markdown.html @@ -0,0 +1,7 @@ + \ No newline at end of file