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.
Codeblock Options
Options for codeblock include:
- Coding language
- Whether to show line numbers
- Ability to select the first line number
Language Choices
Choose a language for the codeblock from the drop-down list provided.