markdown conversion of chapters 5, 6, 8, 9, 10