Skip to main content
How to write code in the description of a question or content?
- Sign in to Ans.
- Create an assignment. Read here how to create an assignment.
- Click New exercise, fill in a title and click Save.
- Click New subquestion and select a question type or click New description and select a description type.
- Click the ¶-icon and select code.
- Write your code.
- Click Save.