9 responses to “Colorful Ruby Code In HTML Using CodeRay”

  1. Ted Nielsen

    I prefer Array.select{ statement } over Array.reject{ !statement }; it lends itself to higher readability and maintenance.

  2. Rodrigo Rosenfeld Rosas

    The missing feature from CodeRay is lack of support for CoffeeScript :( I had to implement CS highlighting using client-side libraries in my homepage :(

  3. Jaime Iniesta

    I recently used CodeRay to colorize syntax in the comments of a rails app, letting the users define the code sections, applying autolinking and simple formatting. Here’s how: