help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Wiki: syntax highlight


From: Fredrik Lingvall
Subject: Re: Wiki: syntax highlight
Date: Wed, 07 Mar 2012 14:03:30 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.1) Gecko/20120217 Thunderbird/10.0.1

On 03/07/12 13:47, Ben Abbott wrote:
On Mar 7, 2012, at 2:53 AM, Juan Pablo Carbajal wrote:

Hi,
Is there chance we could have this extension installed in the wiki
http://www.mediawiki.org/wiki/Extension:SyntaxHighlight_GeSHi
It is for syntax highlight and it highlights matlab code (guess a
MediaWiki expert could use gedit conf file to produce Octave
highlighting)

It will considerable increase the visual appeal of the tutorial I am
writing in the wiki.

Thank you
I rather like having code placed in a colored box. Can this highlighting be 
combined with that ?

Ben
_______________________________________________
Help-octave mailing list
address@hidden
https://mailman.cae.wisc.edu/listinfo/help-octave
You can replace,

$css[] = "\tline-height: normal; border: 0px none white;";

with


$css[] = "\tline-height: normal; border: 1px dashed #2f6fab;";

in the SyntaxHighlight_GeSHi.class.php file to get a dashed border around the code. I have 
not figured out how to get the light gray background that<pre>  ...</pre>  has 
though.

/Fredrik







reply via email to

[Prev in Thread] Current Thread [Next in Thread]