Syntax highlight for MATLAB in Live Preview

Use case or problem

There is no syntax highlight for MATLAB codeblock in Live Preview.

Proposed solution

Migrate the syntax highlight for MATLAB in the reading mode to Live Preview.

For code block, you can use octave instead of MATLAB.
Example:

octave 
function temp()

I hope this helps.

2 Likes

Thanks! Octave highlighting works great!