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

Looks great, will buy. This is not a criticism of this book: does anyone have a hack to add syntax highlighting to any of the ebook formats? I understand why colored syntax highlighting isn't provided in paper formats, but I don't understand why publishers don't use it in ebooks on programming.


It doesn't have to be a "hack". Most modern devices would support it just fine. The main problem is the older kindle devices that only support the mobi7 format.

An author is likely to get dinged on reviews if formatting on older eink devices is poor. So in practice the lowest common denominator wins out...


You're right. We took it out because it looked awful on certain devices.


Some do, I know at least http://pragprog.com/

A hack to parse and add to existing ebooks would be quite handy, though.


A hack for adding it sounds like such a clever idea! I'd love that.




Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

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

Search: