Perhaps you teach a computer programming language and you want your code formatted and highlighted like your favorite text editor does for you. We now have a few HTML templates available to provide syntax highlighting for your documents in Brightspace for languages such as: SQL, Python, Java, Javascript, CSS, and more. The templates use highlight.js and there multiple themes available if you want a dark theme or really like how Android Studio looks.
For Example:
Overview of Steps to use Syntax Highlighting Templates
Go to ‘Content’ in your course
Select ‘Upload / Create’ | then ‘Create a file’
Enter a title
Select language template by browsing ‘Shared Files’
Paste in your code
Select ‘Publish / Update’
Screenshots of Steps
Create a file in content
Enter a title and select ‘Browse for a Template’ in the template dropdown menu
Select ‘Shared Files’ on the left and then select the ‘Templates’ Folder and then select the ‘Code Highlighting’ Folder.
From here you can select your language. If your language isn’t there then select any template and follow the onscreen directions for changing the language.
That’s it. You must Publish the document for the highlighting to show up.