Upload file: Select this option if you want to upload the image/audio/video file from your system.
- URL (Link external image file): Select this option in case you want to use a file hosted on a public file hosting site.
3. To add images to your answer choices, click on answer choices and click on Media buttton in the formatting tool.
4. Follow the instructions in Step 4 to add your image.
5. Once done with adding the question information, click on Save Question to save your question.
Add Code Snippet in Questions
In case your question or answer choices contain a piece of code, you need to enclose the code in the following tags:
<snippet lang="language code">
You can refer to the following table for the 'language code' :
|Programming Language||Language Code|
For your reference, see snapshots below, of code snippets being added in a code question, and how they are rendered on the front end.
In the question text dump, the code snippet is added as -
This question is rendered as following on the front end -