Fix list and code formatting