Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

FYI I used a Ruby library called Coderay to handle code highlighting. This wasn't integrated with Pages, but instead with the Bookshop Ruby gem after I moved the text into HTML files.

The code was inline in the HTML, but set apart using pre tags.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: