thoughtbot / paperback

Standardize and streamline eBook production.
MIT License
4 stars 1 forks source link

Request for syntax highlighting for code snippets #75

Closed dazmuda closed 10 years ago

dazmuda commented 10 years ago

Is syntax highlighting a planned feature for paperback?

Understandable if it isn't planned for 1.0, as it's a big feature.

Just wondering, since readers have requested it on iOS on Rails.

trevororeilly commented 10 years ago

Should be good to go now. Here's an example from Ruby Science of how syntax highlighting works:

https://github.com/thoughtbot/ruby-science/blob/929ec9a8a14981daf298a013df48e6756b0be5cd/book/code_smells/callback.md#example

Let me know if something else is going on or if you need more help getting things setup.

trevororeilly commented 10 years ago

Just wanted to see if the Ruby Science examples helped. OK to close this out?

dazmuda commented 10 years ago

Yep, that looks great, thanks. Please do.