Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
pat_shaughnessy
on Nov 28, 2012
|
parent
|
context
|
favorite
| on:
My eBook build process and some PDF, EPUB and MOBI...
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:
The code was inline in the HTML, but set apart using pre tags.