Flowdock
method

group_lines

Importance_1
v1_8_6_287 - Show latest stable - 0 notes - Class: SM::SimpleMarkup
group_lines() private

Return a block consisting of fragments which are paragraphs, list entries or verbatim text. We merge consecutive lines of the same type and level together. We are also slightly tricky with lists: the lines following a list introduction look like paragraph lines at the next level, and we remap them into list entries instead

Show source
Register or log in to add new notes.