def list(self, body, ordered=True):
mark = '<STR_LIT>' if ordered else '<STR_LIT>'<EOL>lines = body.splitlines()<EOL>for i, line in enumerate(lines):<EOL><INDENT>if line and not line.startswith(self.list_marker):<EOL><INDENT>lines[i] = '<STR_LIT:U+0020>' * len(mark) + line<EOL><DEDENT><DEDENT>return '<STR_LIT>'.format(<EOL>'<STR_LIT:\n>'.join(lines)).replace(self.list_marker, mark)<EOL>
Rendering list tags like ``<ul>`` and ``<ol>``.

        :param body: body contents of the list.
        :param ordered: whether this list is ordered or not.