- 授权协议: 未知
- 开发语言: 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)
Web Design in a Nutshell
Jennifer Niederst / O'Reilly Media, Inc. / 2006-02-21 / USD 34.99
Are you still designing web sites like it's 1999? If so, you're in for a surprise. Since the last edition of this book appeared five years ago, there has been a major climate change with regard to web......一起来看看 《Web Design in a Nutshell》 这本书的介绍吧!
