Current Path : /usr/local/share/ri/1.8/system/SM/SimpleMarkup/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //usr/local/share/ri/1.8/system/SM/SimpleMarkup/handled_labeled_list-i.yaml |
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Handle labeled list entries, We have a special case to deal with. Because the labels can be long, they force the remaining block of text over the to right:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "this is a long label that I wrote:" body: and here is the block of text with a silly margin type: :NOTE - !ruby/struct:SM::Flow::P body: So we allow the special case. If the label is followed by nothing, and if the following line is indented, then we take the indent of that line as the new margin - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "this is a long label that I wrote:" body: here is a more reasonably indented block which will ab attached to the label. type: :NOTE full_name: SM::SimpleMarkup#handled_labeled_list is_singleton: false name: handled_labeled_list params: (line, level, margin, offset, prefix) visibility: private