Flowdock
method

handled_labeled_list

Importance_2
Ruby latest stable (v1_9_3_392) - 0 notes - Class: Markup

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v1_9_1_378) is shown here.

handled_labeled_list(line, level, margin, offset, prefix) private

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:

this is a long label that I wrote:: and here is the
                                    block of text with
                                    a silly margin

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.

this is a long label that I wrote::
    here is a more reasonably indented block which
    will be attached to the label.
Show source
Register or log in to add new notes.