UNPKG

json-editor

Version:
12 lines (10 loc) 255 B
JSONEditor.defaults.templates.markup = function() { if(!window.Mark || !window.Mark.up) return false; return { compile: function(template) { return function(context) { return window.Mark.up(template,context); }; } }; };