coderay
CodeRay is a Ruby library for syntax highlighting. I try to make CodeRay easy to use and intuitive, but at the same time fully featured, complete, fast and efficient. Usage is simple: require 'coderay' code = 'some %q(weird (Ruby) can't shock) me!' puts CodeRay.scan(code, :ruby).html
Types
Docs
Guides
Zeitwerk
Namespace
Optimized
0.7.4.196
-
bundle add coderay
Getting Started
Learn more about the Coderay gem.
Playground
Test, play and inspect the gem for yourself