Syntax Highlighting

From Eigenvector Documentation Wiki
Jump to: navigation, search

Matlab syntax highlighting example using GeSHi.


Use the source tag:


<source lang="matlab">
%function test(in)
Test function.
if true
 disp('blah')
end
</source>

Displays highlighted code:


function test(in)
%Test function.
if true
 disp('blah')
end
Views
Personal tools