From: "NAKAMURA, Hiroshi" Date: 2001-03-01T18:15:53+09:00 Subject: [ruby-talk:11838] Re: ANN: RubyCHannel -> Rwiki w. Online Ruby Interpreter Sorry for RWiki specific topic... > From: Clemens Wyss > Sent: Thursday, March 01, 2001 4:10 PM > >First point. What? > >Clemens, would you explain full detail of "special > >tag-handlers?" Is "tag" not a RD reference but a > >(X)HTML tag? > > The RD2RWikiVisitor looks like the handler I had in mind. > Taking the image example: > > >ruby code goes here<< > <...> is a (X)HTML and not a part of RD... RD has a "reference" syntax like ((<...>)) but its semantics is a reference. rbi_code is for program code and should not be a reference I think. In RD, syntax (({...})) is for program code. http://www.jin.gr.jp/~nahi/RWiki/?cmd=view&name=RD+format How do you feel below syntax? = this is a sample code (({print ">"})) = another sample (({ class Foo def say "hello" end end Foo.new.say })) You can override apply_to_Code in rd2rwiki-lib.rb to get the program code ('print ">"' in above example) and insert