// html
<div id="markdown-view"> <textarea id="markdownView" style="display:none;">{{os_document}}</textarea>
</div>
JS //
// first initialize the container, label creation textarea hidden in a container to be presented in,
var Content = 'A' $("#markdown-view").html('<textarea id="markdownView" style="display:none;"></textarea>'); $ ( " #MarkdownView " ) .val (Content); // will need to convert the contents of the label applied to the converter textarea hidden display container in editormd.markdownToHTML ( " Markdown-View " , { htmlDecode: "style,script,iframe", emoji: true, });