From: Michael Neumann Date: 2004-12-03T11:07:37+09:00 Subject: [rdoc] sections-patch Hi, With the patch below, it's possible to wrap :section: tags like this: # - - - - - - - - - - - - - - - - - - # :section: Section-header # - - - - - - - - - - - - - - - - - - Regards, Michael RCS file: /var/cvs/src/ruby/lib/rdoc/markup/simple_markup.rb,v retrieving revision 1.2 diff -r1.2 simple_markup.rb 306a307,312 > if /^(-\s){3,}/ =~ active_line > line.stamp(Line::BLANK, 0) > return > end > > Index: lib/rdoc/parsers/parse_rb.rb =================================================================== RCS file: /var/cvs/src/ruby/lib/rdoc/parsers/parse_rb.rb,v retrieving revision 1.35 diff -r1.35 parse_rb.rb 2313c2313 < context.set_current_section(param, comment) --- > context.set_current_section(param, (comment =~ /:section:(.*)\n/m) ? $1 : comment)