From: "NAKAMURA, Hiroshi" Date: 2001-03-03T19:11:41+09:00 Subject: [ruby-talk:11929] Re: ANN: RubyCHannel -> Rwiki w. Online Ruby Interpreter > From: Clemens Wyss > Sent: Thursday, March 01, 2001 11:40 PM > >Sorry for RWiki specific topic... > > and long ;-) and late X-( > >> >ruby code goes here<< > > > > > OK, maybe my example was missleading (because of the << and >>): > > class a > def say() > p "hello" > end > end > > > > This looks like your img-example and the visitor could be written as > proposed in my previous post. I understood this time (maybe.) > So if you decide to add <:>-tags to rwiki we could easily add > ! As I mentioned in the post before, I have concerns in what > happens if the code includes a ">". Will the RD parser fail? Maybe. And the parser will not accept indented lines in inline element. User-defined element that Tosh was talking about in [ruby-talk:11863] is an inline element. I started to think that your code block should be a block element. > >You can override apply_to_Code in rd2rwiki-lib.rb to get > >the program code ('print ">"' in above example) and insert > > + + +__EOS__ end