While there is no native tool or plugin installed in our instance of Canvas at WSE, it is possible to use a code converter to input a variety of languages and generate HTML code that can be input into Canvas to serve the same purpose.
Adding HTML to Canvas
- After putting your code through a converter and getting the updated HTML, login to Canvas and navigate to the page where you want to add the code, then click Edit.
- When the Edit page opens, click on the </> symbol under the text box editor, to open the HTML editor.
- When the HTML editor opens, paste the content that was copied from the code converter into the textbox, and then click Save (or Save & Publish).
- When the page refreshes, you should see the specialized formatting for your code on the Page.