convert a special kind of markdown into list elements