idan / gistio

A gist-backed pretty display for markdown.
https://gist.io
MIT License
486 stars 41 forks source link

Newlines in code not reflected at gist.io #18

Closed jthomm closed 11 years ago

jthomm commented 12 years ago

See gist: https://gist.github.com/3145449

Note the new line between the first line of code and the second line of code.

See gist.io: http://gist.io/3145449

Perhaps instead of:

<p>
  <code> 
  /* code in here... */
  /* more code on a new line... */
  </code>
</p>

...it should be:

<p><code>/* code in here... */</code></p>
<p><code>/* more code on a new line... */</code></p>
doda-zz commented 12 years ago

this is a result of #13

idan commented 11 years ago

GFM and fenced code blocks are supported since 0252440950b633a298932fa4ba33480ecea3a9c7. See http://gist.io/6225505