tag:support.markedapp.com,2011-09-11:/discussions/suggestions/46271-svg-supportMarked: Discussion 2017-06-19T15:21:38Ztag:support.markedapp.com,2011-09-11:Comment/427786802017-06-15T15:21:24Z2017-06-15T15:21:27ZSVG support<div><p>I have a markdown file with an SVG tag (attached), and Marked doesn't seem to render the SVG. Not sure if that is intentional or just not a supported HTML tag.</p>
<p>Eddie</p></div>Eddie Smithtag:support.markedapp.com,2011-09-11:Comment/427786802017-06-15T18:54:01Z2017-06-15T18:54:01ZSVG support<div><p>It actually does render it, except that when MultiMarkdown is the<br>
processor it tends to convert characters like " and < to html entities,<br>
thus destroying it as markup. The easy solution is to wrap it in a div<br>
and turn off "process markdown inside of html" in Processor preferences.</p>
<p>So your document would just include:</p>
<pre>
<code><div>
<svg...></svg>
</div></code>
</pre>
<p>The additional</p>
<div>won't alter any export from Marked or anywhere<br>
else, so it's harmless.
<p>-Brett</p>
</div></div>Bretttag:support.markedapp.com,2011-09-11:Comment/427786802017-06-19T14:39:18Z2017-06-19T14:39:18ZSVG support<div><p>Thanks -- still can't get it to work even after adding a <code>div</code> tag</p></div>Eddie Smithtag:support.markedapp.com,2011-09-11:Comment/427786802017-06-19T15:19:44Z2017-06-19T15:19:44ZSVG support<div><p>Do you happen to have "preserve line breaks in paragraphs" enabled in<br>
Processor preferences?</p>
<p>-Brett</p></div>Bretttag:support.markedapp.com,2011-09-11:Comment/427786802017-06-19T15:21:37Z2017-06-19T15:21:37ZSVG support<div><p>Also, if using the MultiMarkdown processor, try toggling "Process<br>
Markdown in HTML" and see if that makes a difference.</p></div>Brett