Raw text option
VSharapov opened this issue · 1 comments
VSharapov commented
Should easy - just adding another menuOption
:
parser: {"markdown": true, "raw": false}
If you have a <pre>
and you set the innerText
(instead of innerHTML
) ... will it automagically turn carets into <>
? 🤷
Worth a try.
VSharapov commented
If you have a
<pre>
and you set theinnerText
(instead ofinnerHTML
) ... will it automagically turn carets into<>
?
Yes!
document.getElementsByTagName('pre')[0].innerText = "multi\nline</pre>and this\nis fine"