[ 源代码: coderay ]
软件包:ruby-coderay(1.1.3-8)
Ruby library for syntax highlighting
CodeRay is a Ruby library that can scan an input file or text in a web page and encode it as syntax highlighted HTML output.
CodeRay supports many input languages including: C, C++, CSS, Delphi, diff, Groovy, HTML, RHTML (Erb+HTML), Nitro-XHTML, Java, JavaScript, JSON, PHP, Python, Ruby, SQL and YAML.
CodeRay can output to HTML, JSON, XML, Yaml.