markdown.state.detect_list_item

markdown.state

detect_list_item(line) -> type, attrs

Detect any list item (ordered or unordered)