v1_8_7_330 - Show latest stable - 0 notes - Class: SM::SimpleMarkup
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 ab attached to the label.

Show source
Register or log in to add new notes.