Markdown markup question

Jan Erik Moström lists at mostrom.pp.se
Fri Dec 29 11:30:03 EST 2006


If I have the following text
---------------------------------------------------
Just a small test

This is some code

and some indented code

and this is the end

1. Just a small test

This is some code

and some indented code

and this is the end
---------------------------------------------------
This results in
---------------------------------------------------
<p>Just a small test</p>

<pre><code>This is some code

and some indented code
</code></pre>

<p>and this is the end</p>

<ol>
<li><p>Just a small test</p>

<pre><code>This is some code


<pre><code>and some indented code
</code></pre>

</code></pre>

<p>and this is the end </p></li>
</ol>
---------------------------------------------------

Note that there are two code tags for the list, is this to be
expected? have I missed something? is it a bug? or should I just
learn to live with it?

jem


More information about the Markdown-Discuss mailing list