Changing markdown to list