- 授权协议: 未知
- 开发语言: Ruby
- 操作系统: 跨平台
- 软件首页: http://coderay.rubychan.de/
- 软件文档: http://coderay.rubychan.de/doc/
软件介绍
CodeRay是一个语法高亮的Ruby库,效率很不错。
CodeRay目前支持的语法包括:
- Ruby
- C
- Delphi
- HTML
- RHTML (Rails)
- Nitro-XHTML
- YAML
- SQL
- Python
- Perl
- PHP
- Java
安装方法:gem install coderay
示例代码:
require 'rubygems'
require 'coderay'
tokens = CodeRay.scan <<-'CODE', :ruby
puts %[Hello, world!]
puts "Here\'s some #@@weird #{ { :code => "for you" } }"
CODE
print tokens.div(:line_numbers => :table, :css => :class)
Practical Django Projects, Second Edition
James Bennett / Apress / 2009 / 44.99
Build a django content management system, blog, and social networking site with James Bennett as he introduces version 1.1 of the popular Django framework. You’ll work through the development of ea......一起来看看 《Practical Django Projects, Second Edition》 这本书的介绍吧!
