jbt / docker

Documentation generator
http://jbt.github.com/docker
MIT License
234 stars 56 forks source link

Markdown and HTML #19

Closed Prevole closed 11 years ago

Prevole commented 11 years ago

Hi,

I have a new issue when I want to write a Markdown code block which contains HTML.

For example, I have this code block (without spaces for the block comments caracters):

` ` `
<ul>
  <li><a href="...">...</a></li>
  ...
</ul>
` ` `

It will render something like that:

I tried to do something like this:

` ` `
&lt;ul&gt;
...
` ` `

And the rendering was the same as Github shown.

Am I doing something wrong ? I also tried to specify the language like that ```html without success.

jbt commented 11 years ago

Oh yes I see that too. That'll be a bug in the markdown parser. Got a fix coming up, just testing it now.