View Single Post
Old 04-21-2013, 01:35 PM   #5
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,856
Karma: 146918083
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by PageLab View Post
You could use something like Highlight to generate a beautifully formatted version of your code in SVG or HTML, ready to embed in your ePUB.

Here's a simple example of the code generated by Highlight inside an ePUB: http://bit.ly/11tFJly

It's a free program, with lots of great customization options.
I'm betting the that code inside the ePub uses a <pre></pre> and that causes one of the lines to be too long and not wrap. That just doesn't work.
JSWolf is offline   Reply With Quote