[tutorial] fixed code-block bugs, reduced content tree depth to 1