lruiz/MarkdownPapers

Embedding code snippets does not work

Closed this issue · 1 comments

Embedding code snippets does not work with markdownpapers version 1.2.3.

The following code

<code>
String s1 = new String("");
String s2 = new String("");
</code>

Is displayed as

String s = new String(""); String s1 = new String("");

Whereas, I think both the statements should have been displayed in different lines.

There is not processing inside html blocks, try it with

<pre><code>
String s1 = new String("");
String s2 = new String("");
</code></pre>

Or use markdown syntax for code block (4 spaces or tab at the begining)