method

group_lines

v1_8_7_330 - Show latest stable - 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