Docent - Teacher

How do I add code in the Editor?

Updated on

  • Click the plus-icon;
  • Click Insert Code.
  1. Choose the coding type.
  2. Click on the arrow to fold and unfold your code.
  3. Click on:
    • The check mark to save your code;
    • The cross to close the coding mode;
    • The numbers to add numbers on the left of your coding screen;
    • The moon for a dark mode.
  • If you want to change your code or go want to go back to the coding mode, click on the code.

Firstly, type the text you want to show before the code. It is not possible to add normal text before the code in the document.

Previous Article How do I use templates in the Editor?
Next Article Copy Course: How do I copy the structure and content from one course to another?