Syntax Highlighting and File:Select Shortcuts to Show dialogbox.png: Difference between pages

From Eigenvector Research Documentation Wiki
(Difference between pages)
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...)
 
(Maintenance script uploaded File:Select Shortcuts to Show dialogbox.png)
 
Line 1: Line 1:
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 test(in)
Test function.
if true
disp('blah')
end
</source></pre>


Displays highlighted code:
<hr>
<div><source lang="matlab">
function test(in)
Test function.
if true
disp('blah')
end
</source></div>

Latest revision as of 11:44, 1 August 2019