method
handled_labeled_list
v1_8_7_72 -
Show latest stable
-
0 notes -
Class: SM::SimpleMarkup
- 1_8_6_287 (0)
- 1_8_7_72 (0)
- 1_8_7_330 (0)
- 1_9_1_378
- 1_9_2_180
- 1_9_3_125
- 1_9_3_392
- 2_1_10
- 2_2_9
- 2_4_6
- 2_5_5
- 2_6_3
- What's this?
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. |