From fb81d875f3b72de27c19ce1751a29a2398a45c6a Mon Sep 17 00:00:00 2001 From: murphy Date: Tue, 17 Oct 2006 10:15:34 +0000 Subject: Go away, demos! >:-( --- sample/demo_html2.rb | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 sample/demo_html2.rb (limited to 'sample/demo_html2.rb') diff --git a/sample/demo_html2.rb b/sample/demo_html2.rb deleted file mode 100644 index 7ce9d60..0000000 --- a/sample/demo_html2.rb +++ /dev/null @@ -1,11 +0,0 @@ -require 'coderay' - -# scan this file -tokens = CodeRay.scan(File.read($0) * 1, :ruby) - -# output it with two styles of line numbers -out = tokens.div(:line_numbers => :table) -out << '
' -out << tokens.div(:line_numbers => :inline, :line_number_start => 8) - -puts out.page -- cgit v1.2.1