A demonstration of code/syntax highlighting in Typo. To install:
$ script/plugin install git://github.com/kejadlen/typo_textfilter_ultraviolet.git
Some examples:
class Foo
def bar
puts "hello world"
end
end
C with blackboard theme and line numbers:
1 void bar() { 2 printf("hello world\n"); 3 }
Objective-C with the idle theme:
#import <Foundation/NSObject.h> @interface Fraction: NSObject { int numerator; int denominator; } -(void) print; -(void) setNumerator: (int) d; -(void) setDenominator: (int) d; -(int) numerator; -(int) denominator; @end