The codeblock content type displays formatted blocks of computer code.
Adding a Codeblock
On the course blueprint, click + Add Section, select Codeblock, and then click Add to Page.
Options for codeblock include:
- Coding language
- Whether to show line numbers
- Ability to select the first line number
Choose a language for the codeblock from the drop-down list provided.