ruby-hacking-guide / ruby-hacking-guide.github.com

Ruby Hacking Guide Translation
http://ruby-hacking-guide.github.io/
318 stars 52 forks source link

Fixed some formatting issues in chapter two #6

Closed hamiltop closed 11 years ago

hamiltop commented 11 years ago

Because of a syntax error (missing new line), code sections were not being ignored by RedCloth. That meant that macros like RCLASS(value) were being interpreted as an acronym. RCLASS(value) would become RCLASS and in theory tooltip with "value" would appear on mouseover.

Additionally, using backticks to format code inline in a paragraph does not work across line breaks. Any multi word inline code fragments must be on the same line.

markburns commented 11 years ago

Thanks