tag:rubydoc.tenderapp.com,2010-12-26:/discussions/problems/182-github-flavored-markdown-not-rendered-correctlyRubydoc.info: Discussion 2013-07-28T17:24:50Ztag:rubydoc.tenderapp.com,2010-12-26:Comment/279787512013-07-28T08:51:55Z2013-07-28T08:51:55Zgithub-flavored markdown not rendered correctly?<div><p>GitHub uses a custom renderer to parse markdown content. The
redcarpet gem parses slightly differently.</p>
<p>In general, you need a line of whitespace between any fenced
code blocks. This <em>should</em> be true for most markdown parsers
that support fenced code blocks.</p>
<p>Have you tried generating docs locally to see if this happens
there too?</p></div>lsegaltag:rubydoc.tenderapp.com,2010-12-26:Comment/279787512013-07-28T14:54:41Z2013-07-28T14:54:41Zgithub-flavored markdown not rendered correctly?<div><p>Perfect! That was the problem, thanks. Because it rendered
correctly on<br>
Github, I thought that was ok, but you are correct, it rendered
locally the<br>
same as on rubydoc.info, until I added the newlines.</p>
<p>-Marc</p></div>Marc Siegeltag:rubydoc.tenderapp.com,2010-12-26:Comment/279787512013-07-28T17:24:42Z2013-07-28T17:24:42Zgithub-flavored markdown not rendered correctly?<div><p>Glad you got it working!</p></div>lsegal