simplify parsing of markdown list items