0 Likes
(5)

I would like to suggest that the new RCE include the option to select a block of text and have it formatted nicely as programming code.    There is currently a CODE formatting option, but it doesn't work well, and it not aware of any specific programming languages.  

 

Specifically, I'd like for the inclusion of a feature like 
https://prismjs.com/

or 

https://highlightjs.org/

or any of a dozen other javascript based code syntax highlighters.   

Example of how the output should look include

syntax2.pngsyntax1.png

 

Teachers need to be able to post code samples that look good on the page while still being able to be copied and pasted.   

Students need to be able to submit formatted code as an assignment and that formatting needs to persist through to the teacher reviewing the code in Speedgrader.   

 

What's even more Meta, Canvas own community software has such a code formatter already built in.  🙂    Canvas needs this functionality in their own LMS ASAP.

 

kronos0.pngkronos1.png

 

This widget could not be displayed.
    This widget could not be displayed.
    This widget could not be displayed.
Who rated this idea