Syntax Highlighting: Difference between revisions
Jump to navigation
Jump to search
imported>Scott (New page: Matlab syntax highlighting example using [http://www.mediawiki.org/wiki/Extension:SyntaxHighlight_GeSHi GeSHi]. <hr> Use the '''source''' tag: <hr> <pre><source lang="matlab"> function tes...) |
(No difference)
|
Revision as of 19:42, 7 September 2008
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