Changeset 5660
- Timestamp:
- 01/28/08 04:53:01 (5 years ago)
- Files:
-
- 1 modified
-
lang/ruby/vimcolor/README (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lang/ruby/vimcolor/README
r4877 r5660 4 4 A ported version of Perl's Text::VimColor to Ruby. 5 5 6 This library tries to markup text files according to their syntax using vim.6 This library tries to markup text files according to their syntax using Vim. 7 7 It can be used to produce web pages with pretty-printed colourful source code samples. 8 8 … … 14 14 15 15 require 'vimcolor' 16 17 vc = VimColor.new 18 xml = vc.run_file("foo.rb", 19 {:filetype => 'ruby', #default: auto detect 20 :encoding => 'utf-8'}, #default: utf-8 21 :html, #can be :xml, :html, :ansi, :array 22 'syntax') # extra option for HTML formatter(css class prefix) 16 17 vc = VimColor.new 18 html = vc.run_file("foo.rb", 19 {:filetype => 'ruby', #default: auto detect 20 :encoding => 'utf-8'}, #default: utf-8 21 :html, #can be :xml, :html, :ansi, :array 22 'syntax') # extra option for HTML formatter(css class prefix) 23 24 xml = vc.run_file("bar.vim", 25 'vim', #filetype as String instead of Hash 26 :xml) 23 27 24 28 … … 40 44 * http://search.cpan.org/~geoffr/Text-VimColor-0.11/lib/Text/VimColor.pm 41 45 42 S vn repository (hosted by coderepos.org)46 Subversion repository (hosted by CodeRepos.org) 43 47 44 * http:// coderepos.org/share/browser/lang/ruby/vimcolor48 * http://svn.coderepos.org/share/lang/ruby/vimcolor 45 49 46 50
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)